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§
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,
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.