Function copy_with_buffer

Source
pub fn copy_with_buffer<R, W>(
    reader: R,
    writer: W,
    buffer: Box<[u8]>,
) -> Copy<R, W>
where R: AsyncRead, W: AsyncWrite,
Expand description

Advanced version of copy where you can specify your own buffer. Buffer may be reused for multiple copy operations.

For other description text see the [copy function documentation]. [copy function documentation]: fn.copy.html