FuturesIoAsyncWriteExt

Trait FuturesIoAsyncWriteExt 

Source
pub trait FuturesIoAsyncWriteExt {
    // Required method
    fn normalize_newlines<N: NormalizeChunk>(self, _: N) -> AsyncWriter<Self, N>
       where Self: Sized;
}
Expand description

Extension trait to provide convenient methods on futures::io::AsyncWrite.

This trait requires the futures-io feature to be enabled.

Required Methods§

Source

fn normalize_newlines<N: NormalizeChunk>(self, _: N) -> AsyncWriter<Self, N>
where Self: Sized,

Wrap the writer with a newline-normalizing AsyncWriter.

Implementors§