[][src]Trait dendrite::axon_utils::AsyncApplicableTo

pub trait AsyncApplicableTo<Projection> where
    Self: VecU8Message + Send + Sync + Debug
{ #[must_use] pub fn apply_to<'life0, 'life1, 'async_trait>(
        &'life0 self,
        projection: &'life1 mut Projection
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
pub fn box_clone(&self) -> Box<dyn AsyncApplicableTo<Projection>>; }

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

Required methods

#[must_use]pub fn apply_to<'life0, 'life1, 'async_trait>(
    &'life0 self,
    projection: &'life1 mut Projection
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Applies this message to the given projection.

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

Loading content...

Implementors

Loading content...