pub trait FuncHandler<R, W>: Send{
    // Required method
    fn handle<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        receiver: &'life1 mut R,
        sender: &'life2 mut W,
        cipher: AesCipher
    ) -> Pin<Box<dyn Future<Output = Result<AesCipher>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn handle<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, receiver: &'life1 mut R, sender: &'life2 mut W, cipher: AesCipher ) -> Pin<Box<dyn Future<Output = Result<AesCipher>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§