[][src]Trait craftio_rs::AsyncWriteAll

pub trait AsyncWriteAll: Unpin + Send + Sync {
#[must_use]    pub fn write_all<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        data: &'life1 [u8]
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

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

Loading content...

Implementors

impl<W> AsyncWriteAll for W where
    W: AsyncWrite + Unpin + Send + Sync
[src]

Loading content...