Trait wasm_tokio::cm::AsyncWriteValue
source · pub trait AsyncWriteValue: AsyncWrite {
// Provided methods
fn write_bool(&mut self, v: bool) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_option_status<T>(
&mut self,
v: Option<T>,
) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
fn write_result_status<T, E>(
&mut self,
v: Result<T, E>,
) -> impl Future<Output = Result<()>>
where Self: Unpin { ... }
}
Provided Methods§
fn write_bool(&mut self, v: bool) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_option_status<T>(
&mut self,
v: Option<T>,
) -> impl Future<Output = Result<()>>where
Self: Unpin,
fn write_result_status<T, E>(
&mut self,
v: Result<T, E>,
) -> impl Future<Output = Result<()>>where
Self: Unpin,
Object Safety§
This trait is not object safe.