pub trait Effect {
type Version;
type Key;
// Required methods
fn version(&self) -> Self::Version;
fn key(&self) -> Self::Key;
}Expand description
Event produced from Actor handling Cause.
Implemented for events produced by Actors handling Causes.
Expected that Effects are applied to Actors or Aggregates to represent state.