pub trait TCommandService<R, E, C>: Send + Sync{
    // Required method
    fn execute<'life0, 'async_trait>(
        &'life0 mut self,
        cmd: C
    ) -> Pin<Box<dyn Future<Output = Result<R, E>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn execute<'life0, 'async_trait>( &'life0 mut self, cmd: C ) -> Pin<Box<dyn Future<Output = Result<R, E>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§