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