[][src]Trait craftio_rs::AsyncReadExact

pub trait AsyncReadExact: Unpin + Sync + Send {
#[must_use]    pub fn read_exact<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        to: &'life1 mut [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 read_exact<'life0, 'life1, 'async_trait>(
    &'life0 mut self,
    to: &'life1 mut [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<R> AsyncReadExact for R where
    R: AsyncRead + Unpin + Sync + Send
[src]

Loading content...