pub trait AppCommand<A>: Send + 'static {
// Required methods
fn name(&self) -> &'static str;
fn apply(
&mut self,
dispatch: &mut Dispatch<'_, A>,
) -> Result<Outcome, Rejection>;
}pub trait AppCommand<A>: Send + 'static {
// Required methods
fn name(&self) -> &'static str;
fn apply(
&mut self,
dispatch: &mut Dispatch<'_, A>,
) -> Result<Outcome, Rejection>;
}