ProcessApplier

Trait ProcessApplier 

Source
pub trait ProcessApplier<T: Process>:
    'static
    + Sync
    + Send {
    // Required method
    fn apply<'life0, 'life1, 'async_trait>(
        self: Box<Self>,
        entity: &'life0 mut T,
        ctx: &'life1 mut Context,
    ) -> Pin<Box<dyn Future<Output = Result<(), ChannelDropped>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

fn apply<'life0, 'life1, 'async_trait>( self: Box<Self>, entity: &'life0 mut T, ctx: &'life1 mut Context, ) -> Pin<Box<dyn Future<Output = Result<(), ChannelDropped>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§