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

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

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

Required methods

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

Applies this message to the given projection.

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

Creates a box with a clone of this message.

Loading content...

Implementors

Loading content...