pub trait Notifier:
Send
+ Sync
+ Debug {
// Required method
fn notify(&self, id: NotificationId) -> Result;
}Expand description
Represents the side that notifies
Required Methods§
Sourcefn notify(&self, id: NotificationId) -> Result
fn notify(&self, id: NotificationId) -> Result
Notifies Poll
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".