pub trait SenderHandle {
    type Item;
    type Error;

    // Required method
    fn send<'life0, 'async_trait>(
        &'life0 mut self,
        item: Self::Item
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn send<'life0, 'async_trait>( &'life0 mut self, item: Self::Item ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<C, SM> SenderHandle for ClientHandle<C, SM>where C: Cancellable, <C as Cancellable>::Handle: SenderHandle<Item = Vec<u8>> + Send + Sync, SM: Into<Vec<u8>> + Send,

§

type Item = SM

§

type Error = ClientError