kvarn::prelude::networking::prelude

Trait AsyncWriteExt

pub trait AsyncWriteExt: AsyncWrite {
Show 29 methods // Provided methods fn write<'a>(&'a mut self, src: &'a [u8]) -> Write<'a, Self> where Self: Unpin { ... } fn write_vectored<'a, 'b>( &'a mut self, bufs: &'a [IoSlice<'b>], ) -> WriteVectored<'a, 'b, Self> where Self: Unpin { ... } fn write_buf<'a, B>(&'a mut self, src: &'a mut B) -> WriteBuf<'a, Self, B> where Self: Sized + Unpin, B: Buf { ... } fn write_all_buf<'a, B>( &'a mut self, src: &'a mut B, ) -> WriteAllBuf<'a, Self, B> where Self: Sized + Unpin, B: