SyncMediatorInternal

Trait SyncMediatorInternal 

Source
pub trait SyncMediatorInternal<Ev: Debug> {
    // Required method
    fn publish(&self, event: Ev);
}
Expand description

Publish an event Ev from within a handler.

Required Methods§

Source

fn publish(&self, event: Ev)

Implementors§

Source§

impl<Ev> SyncMediatorInternal<Ev> for BasicMediator<Ev>
where Ev: Debug,