Trait leb128_tokio::AsyncReadLeb128

source ·
pub trait AsyncReadLeb128: AsyncRead {
Show 15 methods // Provided methods fn read_u8_leb128(&mut self) -> impl Future<Output = Result<u8>> where Self: Unpin { ... } fn read_u16_leb128(&mut self) -> impl Future<Output = Result<u16>> where Self: Unpin { ... } fn read_u32_leb128(&mut self) -> impl Future<Output = Result<u32>> where Self: Unpin { ... } fn read_u64_leb128(&mut self) -> impl Future<Output = Result<u64>> where Self: Unpin { ... } fn read_u128_leb128(&mut self) -> impl Future<Output = Result<u128>> where Self: Unpin { ... } fn read_var_u8_leb128(&mut self, n: u8) -> impl Future<Output = Result<u8>> where Self: Unpin { ... } fn read_var_u16_leb128( &mut self, n: u8, ) -> impl Future<Output = Result<u16>> where Self: Unpin { ... } fn read_var_u32_leb128( &mut self, n: u8, ) -> impl Future<Output = Result<u32>> where Self: Unpin { ... } fn read_var_u64_leb128( &mut self, n: u8, ) -> impl Future<Output = Result<u64>> where Self: Unpin { ... } fn read_var_u128_leb128( &mut self, n: u8, ) -> impl Future<Output = Result<u128>> where Self: Unpin { ... } fn read_i8_leb128(&mut self) -> impl Future<Output = Result<i8>> where Self: Unpin { ... } fn read_i16_leb128(&mut self) -> impl Future<Output = Result<i16>> where Self: Unpin { ... } fn read_i32_leb128(&mut self) -> impl Future<Output = Result<i32>> where Self: Unpin { ... } fn read_i64_leb128(&mut self) -> impl Future<Output = Result<i64>> where Self: Unpin { ... } fn read_i128_leb128(&mut self) -> impl Future<Output = Result<i128>> where Self: Unpin { ... }
}

Provided Methods§

source

fn read_u8_leb128(&mut self) -> impl Future<Output = Result<u8>>
where Self: Unpin,

source

fn read_u16_leb128(&mut self) -> impl Future<Output = Result<u16>>
where Self: Unpin,

source

fn read_u32_leb128(&mut self) -> impl Future<Output = Result<u32>>
where Self: Unpin,

source

fn read_u64_leb128(&mut self) -> impl Future<Output = Result<u64>>
where Self: Unpin,

source

fn read_u128_leb128(&mut self) -> impl Future<Output = Result<u128>>
where Self: Unpin,

source

fn read_var_u8_leb128(&mut self, n: u8) -> impl Future<Output = Result<u8>>
where Self: Unpin,

source

fn read_var_u16_leb128(&mut self, n: u8) -> impl Future<Output = Result<u16>>
where Self: Unpin,

source

fn read_var_u32_leb128(&mut self, n: u8) -> impl Future<Output = Result<u32>>
where Self: Unpin,

source

fn read_var_u64_leb128(&mut self, n: u8) -> impl Future<Output = Result<u64>>
where Self: Unpin,

source

fn read_var_u128_leb128(&mut self, n: u8) -> impl Future<Output = Result<u128>>
where Self: Unpin,

source

fn read_i8_leb128(&mut self) -> impl Future<Output = Result<i8>>
where Self: Unpin,

source

fn read_i16_leb128(&mut self) -> impl Future<Output = Result<i16>>
where Self: Unpin,

source

fn read_i32_leb128(&mut self) -> impl Future<Output = Result<i32>>
where Self: Unpin,

source

fn read_i64_leb128(&mut self) -> impl Future<Output = Result<i64>>
where Self: Unpin,

source

fn read_i128_leb128(&mut self) -> impl Future<Output = Result<i128>>
where Self: Unpin,

Object Safety§

This trait is not object safe.

Implementors§