Trait AsyncReadValue

Source
pub trait AsyncReadValue: AsyncRead {
    // Provided methods
    fn read_bool(&mut self) -> impl Future<Output = Result<bool>>
       where Self: Unpin { ... }
    fn read_option_status(&mut self) -> impl Future<Output = Result<bool>>
       where Self: Unpin { ... }
    fn read_result_status(&mut self) -> impl Future<Output = Result<bool>>
       where Self: Unpin { ... }
}

Provided Methods§

Source

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

Source

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

Source

fn read_result_status(&mut self) -> impl Future<Output = Result<bool>>
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.

Implementors§