pub trait AsyncWriteExt: AsyncWrite {
// Provided methods
fn write<'a>(&'a mut self, buf: &'a [u8]) -> WriteFuture<'a, Self> ⓘ { ... }
fn write_vectored<'a>(
&'a mut self,
bufs: &'a [IoSlice<'a>],
) -> WriteVectoredFuture<'a, Self> ⓘ { ... }
fn close(&mut self) -> CloseFuture<'_, Self> ⓘ { ... }
fn write_shared<'a, B>(
&'a mut self,
buf: &'a RefCell<B>,
) -> WriteSharedFuture<'a, Self, B> ⓘ
where B: AsRef<[u8]> { ... }
}Provided Methods§
fn write<'a>(&'a mut self, buf: &'a [u8]) -> WriteFuture<'a, Self> ⓘ
fn write_vectored<'a>( &'a mut self, bufs: &'a [IoSlice<'a>], ) -> WriteVectoredFuture<'a, Self> ⓘ
fn close(&mut self) -> CloseFuture<'_, Self> ⓘ
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.