notify_unregister

Function notify_unregister 

Source
pub unsafe fn notify_unregister(
    cb: ove_pm_notify_fn,
    user_data: *mut c_void,
) -> Result<()>
Expand description

Unregister a transition notification callback.

§Safety

Must match a previously registered (cb, user_data) pair.

§Errors

Returns Error::NotRegistered if the pair was not found.