Trait wasm_tokio::AsyncWriteLeb128

source ·
pub trait AsyncWriteLeb128: AsyncWrite {
    // Provided methods
    fn write_u8_leb128(
        &mut self,
        x: u8,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_u16_leb128(
        &mut self,
        x: u16,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_u32_leb128(
        &mut self,
        x: u32,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_u64_leb128(
        &mut self,
        x: u64,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_u128_leb128(
        &mut self,
        x: u128,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_i8_leb128(
        &mut self,
        x: i8,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_i16_leb128(
        &mut self,
        x: i16,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_i32_leb128(
        &mut self,
        x: i32,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_i64_leb128(
        &mut self,
        x: i64,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
    fn write_i128_leb128(
        &mut self,
        x: i128,
    ) -> impl Future<Output = Result<(), Error>>
       where Self: Unpin { ... }
}

Provided Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> AsyncWriteLeb128 for T
where T: AsyncWrite,