Trait netstack3_sync::rc::Notifier
source · pub trait Notifier<T>: Send {
// Required method
fn notify(&mut self, data: T);
}
Expand description
Provides delegated notification of all strong references of a Primary
being dropped.
Required Methods§
Implementations on Foreign Types§
source§impl<T> Notifier<T> for Infallible
impl<T> Notifier<T> for Infallible
A handy implementation for the common Infallible “Never” type.