pub trait IMessageHandler: Send + Sync {
    // Required method
    fn handle<'life0, 'async_trait>(
        &'life0 mut self,
        message: String,
        request_context: RequestContext
    ) -> Pin<Box<dyn Future<Output = CommandResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn handle<'life0, 'async_trait>( &'life0 mut self, message: String, request_context: RequestContext ) -> Pin<Box<dyn Future<Output = CommandResult> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§