Trait tentacli_traits::PacketHandler

source ·
pub trait PacketHandler {
    // Required method
    fn handle<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        input: &'life1 mut HandlerInput
    ) -> Pin<Box<dyn Future<Output = HandlerResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

source

fn handle<'life0, 'life1, 'async_trait>( &'life0 mut self, input: &'life1 mut HandlerInput ) -> Pin<Box<dyn Future<Output = HandlerResult> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§