pub trait Dispatcher<A> { type Output; // Required method fn dispatch(&mut self, action: A) -> Self::Output; }
Trait for types that allow dispatching actions.