pub trait VarIntAsyncReader {
    // Required method
    fn read_varint_async<'life0, 'async_trait, VI>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Result<VI, Error>> + Send + 'async_trait>>
       where VI: 'async_trait + VarInt,
             Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Like a [VarIntReader], but returns a future.

Required Methods§

source

fn read_varint_async<'life0, 'async_trait, VI>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = Result<VI, Error>> + Send + 'async_trait>>
where VI: 'async_trait + VarInt, Self: 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§