[][src]Trait streamcatcher::future::AsyncReadSkipExt

pub trait AsyncReadSkipExt {
#[must_use]    fn skip<'life0, 'async_trait>(
        &'life0 mut self,
        amt: usize
    ) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>>
    where
        Self: Sized,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Async variant of ReadSkipExt.

Required methods

#[must_use]fn skip<'life0, 'async_trait>(
    &'life0 mut self,
    amt: usize
) -> Pin<Box<dyn Future<Output = usize> + Send + 'async_trait>> where
    Self: Sized,
    'life0: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl<R: AsyncRead + Sized + Unpin + Send> AsyncReadSkipExt for R[src]

Loading content...