[][src]Trait lnpbp::lnp::transport::AsyncWrite

pub trait AsyncWrite {
#[must_use]    fn write<'life0, 'async_trait>(
        &'life0 mut self,
        data: impl Borrow<[u8]>
    ) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn write<'life0, 'async_trait>(
    &'life0 mut self,
    data: impl Borrow<[u8]>
) -> Pin<Box<dyn Future<Output = Result<usize, Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...