Function esp_idf_svc::io::utils::copy

source ยท
pub fn copy<R, W>(
    read: R,
    write: W,
    buf: &mut [u8],
) -> Result<u64, CopyError<<R as ErrorType>::Error, <W as ErrorType>::Error>>
where R: Read, W: Write,