pub trait VarIntAsyncWriter {
    fn write_varint_async<'life0, 'async_trait, VI>(
        &'life0 mut self,
        n: VI
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
    where
        VI: 'async_trait + VarInt + Send,
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Like VarIntWriter, but asynchronous.

Required Methods

Write a VarInt integer to an asynchronous writer.

Implementors