pub trait AsyncSender<T: Send + Sync>: Send {
    type Error;

    // Required method
    fn send<'life0, 'async_trait>(
        &'life0 mut self,
        value: T
    ) -> 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, value: T ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§