pub trait AsyncWriteLeb128: AsyncWrite {
// Provided methods
fn write_u8_leb128(&mut self, x: u8) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_u16_leb128(&mut self, x: u16) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_u32_leb128(&mut self, x: u32) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_u64_leb128(&mut self, x: u64) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_u128_leb128(&mut self, x: u128) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_i8_leb128(&mut self, x: i8) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_i16_leb128(&mut self, x: i16) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_i32_leb128(&mut self, x: i32) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_i64_leb128(&mut self, x: i64) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_i128_leb128(&mut self, x: i128) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
}
Provided Methods§
fn write_u8_leb128(&mut self, x: u8) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_u16_leb128(&mut self, x: u16) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_u32_leb128(&mut self, x: u32) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_u64_leb128(&mut self, x: u64) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_u128_leb128(&mut self, x: u128) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_i8_leb128(&mut self, x: i8) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_i16_leb128(&mut self, x: i16) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_i32_leb128(&mut self, x: i32) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_i64_leb128(&mut self, x: i64) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_i128_leb128(&mut self, x: i128) -> impl Future<Output = Result<()>>where
Self: Unpin,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.