pub trait RcNotifier<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.