Trait async_io_traits::io::OwnedWrite
source · pub trait OwnedWrite: Write {
fn write(
&mut self,
buf: OwnedBuf
) -> impl Future<Output = (OwnedBuf, Result<()>)>;
async fn write_all(&mut self, buf: OwnedBuf) -> (OwnedBuf, Result<()>) { ... }
}