Trait integer_encoding::FixedIntAsyncReader[][src]

pub trait FixedIntAsyncReader {
#[must_use]    fn read_fixedint_async<'life0, 'async_trait, FI: FixedInt>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<FI>> + Send + 'async_trait>>
    where
        FI: 'async_trait,
        'life0: 'async_trait,
        Self: 'async_trait
; }

Like FixedIntReader, but returns a future.

Required methods

#[must_use]fn read_fixedint_async<'life0, 'async_trait, FI: FixedInt>(
    &'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<FI>> + Send + 'async_trait>> where
    FI: 'async_trait,
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

impl<AR: AsyncRead + Unpin + Send> FixedIntAsyncReader for AR[src]

Loading content...