AsyncWriteUtility

Trait AsyncWriteUtility 

Source
pub trait AsyncWriteUtility: AsyncWrite {
    // Provided methods
    fn poll_write_vectored_all(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
        bufs: &mut [IoSlice<'_>],
    ) -> Poll<Result<()>> { ... }
    fn write_vectored_all<'a, 'b, 'c>(
        &'a mut self,
        bufs: &'b mut [IoSlice<'c>],
    ) -> WriteVectorizedAll<'a, 'b, 'c, Self>  { ... }
}

Provided Methods§

Source

fn poll_write_vectored_all( self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &mut [IoSlice<'_>], ) -> Poll<Result<()>>

Source

fn write_vectored_all<'a, 'b, 'c>( &'a mut self, bufs: &'b mut [IoSlice<'c>], ) -> WriteVectorizedAll<'a, 'b, 'c, Self>

Equivalent to:

async fn write_vectored_all(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<()>;

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.

Implementors§