Trait SendHandle

Source
pub trait SendHandle: Debug + Send {
    // Required method
    fn send<'life0, 'async_trait>(
        &'life0 mut self,
        data: Bytes,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Available on crate features ssh or tls only.

Required Methods§

Source

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

Implementors§