Trait aral_runtime_async_std::io::Write
source · pub trait Write {
// Required methods
fn write(
&mut self,
buf: &[u8]
) -> impl Future<Output = Result<usize>> + Send;
fn flush(&mut self) -> impl Future<Output = Result<()>> + Send;
}
Required Methods§
fn write(&mut self, buf: &[u8]) -> impl Future<Output = Result<usize>> + Send
fn flush(&mut self) -> impl Future<Output = Result<()>> + Send
Object Safety§
This trait is not object safe.