pub trait DataNotifier:
Debug
+ Clone
+ Send
+ Sync {
// Required method
fn notify(&self);
}
Expand description
A handle to a notifier that can be used to signal to a receiver that data is available.
Notifiers can be cloned to allow for multiple current notifiers.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.