Trait disruption::Handler

source ·
pub trait Handler {
    // Provided method
    fn on_message<'life0, 'async_trait>(
        &'life0 mut self,
        _message: Message
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
}

Provided Methods§

source

fn on_message<'life0, 'async_trait>( &'life0 mut self, _message: Message ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: Send + 'async_trait, 'life0: 'async_trait,

Implementors§