Trait AsyncWriteRentExt

Source
pub trait AsyncWriteRentExt {
    // Required methods
    fn write_all<T: IoBuf + 'static>(
        &mut self,
        buf: T,
    ) -> impl Future<Output = BufResult<usize, T>>;
    fn write_vectored_all<T: IoVecBuf + 'static>(
        &mut self,
        buf: T,
    ) -> impl Future<Output = BufResult<usize, T>>;
}
Expand description

AsyncWriteRentExt

Required Methods§

Source

fn write_all<T: IoBuf + 'static>( &mut self, buf: T, ) -> impl Future<Output = BufResult<usize, T>>

Write all

Source

fn write_vectored_all<T: IoVecBuf + 'static>( &mut self, buf: T, ) -> impl Future<Output = BufResult<usize, T>>

Write vectored all

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§