EventHandlerDispatch

Trait EventHandlerDispatch 

Source
pub trait EventHandlerDispatch<S>
where S: Event + Sized,
{ // Required method fn dispatch(&mut self, event: &EventData<'_, S>) -> Result<(), BoxError>; }
Expand description

An interface to Invoke internal logic for the specified event.

Required Methods§

Source

fn dispatch(&mut self, event: &EventData<'_, S>) -> Result<(), BoxError>

Invoke the internal logic for the specified event.

Implementors§