Skip to main content

notify_unregister

Function notify_unregister 

Source
pub fn notify_unregister<T: Send + Sync + 'static>(
    handler: &'static NotifyHandler<T>,
) -> Result<()>
Expand description

Unregister a previously registered notification handler.

ยงErrors

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