pub trait AsyncSendExt: AsyncSend {
// Provided methods
fn send<'a>(&'a mut self, buf: &'a [u8]) -> Send<'a, Self> ⓘ { ... }
fn send_vectored<'a>(
&'a mut self,
bufs: &'a [IoSlice<'a>],
) -> SendVectored<'a, Self> ⓘ { ... }
}Expand description
Extension trait for AsyncSend.
Provided Methods§
Sourcefn send_vectored<'a>(
&'a mut self,
bufs: &'a [IoSlice<'a>],
) -> SendVectored<'a, Self> ⓘ
fn send_vectored<'a>( &'a mut self, bufs: &'a [IoSlice<'a>], ) -> SendVectored<'a, Self> ⓘ
Sends the datagram in bufs.
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.