pub trait WriteExt {
    type WriteAll<'a>: 'a + Future<Output = Result<(), Error>>
    where
        Self: 'a
; fn write_all<'a>(&'a mut self, buf: &'a [u8]) -> Self::WriteAll<'a>; }
Expand description

Provides extension methods for Write.

Required Associated Types

A future that resolves to the result of Self::write_all.

Required Methods

Writes all bytes from buf into this object.

Implementors