[][src]Trait dendrite::axon_utils::ApplicableTo

pub trait ApplicableTo<Projection> where
    Self: VecU8Message + Send + Sync + Debug
{ pub fn apply_to(&self, projection: &mut Projection) -> Result<()>;
pub fn box_clone(&self) -> Box<dyn ApplicableTo<Projection>>; }

Describes a Message that is applicable to a particular projection type.

Required methods

pub fn apply_to(&self, projection: &mut Projection) -> Result<()>[src]

Applies this message to the given projection.

pub fn box_clone(&self) -> Box<dyn ApplicableTo<Projection>>[src]

Creates a box with a clone of this message.

Loading content...

Implementors

impl ApplicableTo<GreeterProjection> for GreetedEvent[src]

impl ApplicableTo<GreeterProjection> for StartedRecordingEvent[src]

impl ApplicableTo<GreeterProjection> for StoppedRecordingEvent[src]

Loading content...