pub trait Notifier:
Clone
+ Send
+ 'static {
// Required method
fn notify(&self, notifications: &[Notification]);
}Expand description
A type that can dispatch notifications produced by the worker.
Required Methods§
Sourcefn notify(&self, notifications: &[Notification])
fn notify(&self, notifications: &[Notification])
Dispatches the given notifications to the interested clients.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".