pub trait Notify<N>:
Send
+ Sync
+ Debugwhere
N: Notification,{
// Required method
fn notify(&self, notification: N) -> Result<()>;
}pub trait Notify<N>:
Send
+ Sync
+ Debugwhere
N: Notification,{
// Required method
fn notify(&self, notification: N) -> Result<()>;
}