pub trait Notifier: Send + Sync {
// Required method
fn notify(&self) -> Result<(), Error>;
// Provided method
fn typeless(self) -> TypelessNotifier
where Self: Sized + 'static { ... }
}Expand description
An abstract notifier.