[−][src]Trait tokio::io::AsyncWriteExt
An extension trait which adds utility methods to AsyncWrite
types.
Provided methods
fn write(&'a mut self, src: &'a [u8]) -> Write<'a, Self> where
Self: Unpin,
Self: Unpin,
Write a buffer into this writter, returning how many bytes were written.
fn write_all(&'a mut self, src: &'a [u8]) -> WriteAll<'a, Self> where
Self: Unpin,
Self: Unpin,
Attempt to write an entire buffer into this writter.
fn flush(&mut self) -> Flush<Self> where
Self: Unpin,
Self: Unpin,
Flush the contents of this writer.
fn shutdown(&mut self) -> Shutdown<Self> where
Self: Unpin,
Self: Unpin,
Shutdown this writer.
Implementors
impl<W> AsyncWriteExt for W where
W: AsyncWrite + ?Sized,
[src]
W: AsyncWrite + ?Sized,