[−][src]Trait eventmill::command::HandleCommand
Associated Types
Loading content...Required methods
fn handle_command(
&self,
command: C,
context: &Self::Context
) -> Result<Vec<NewEvent<Self::Event, A>>, Self::Error>
&self,
command: C,
context: &Self::Context
) -> Result<Vec<NewEvent<Self::Event, A>>, Self::Error>
Implementors
impl<C, S> HandleCommand<C, VersionedAggregate<S>> for VersionedAggregate<S> where
S: HandleCommand<C, S>,
S: WithAggregateId,
[src]
S: HandleCommand<C, S>,
S: WithAggregateId,
type Event = <S as HandleCommand<C, S>>::Event
type Error = <S as HandleCommand<C, S>>::Error
type Context = <S as HandleCommand<C, S>>::Context
fn handle_command(
&self,
command: C,
context: &Self::Context
) -> Result<Vec<NewEvent<Self::Event, Self>>, Self::Error>
[src]
&self,
command: C,
context: &Self::Context
) -> Result<Vec<NewEvent<Self::Event, Self>>, Self::Error>