Trait CancelableAsyncWriteRentExt

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

CancelableAsyncWriteRentExt

Required Methods§

Source

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

Write all

Source

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

Write 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§