Skip to main content

copy

Function copy 

Source
pub async fn copy<R, W>(
    read: R,
    write: W,
    buf: &mut [u8],
) -> Result<u64, CopyError<R::Error, W::Error>>
where R: Read, W: Write,