stream_copy

Function stream_copy 

Source
pub async fn stream_copy<R, W>(
    reader: ContentStream<R>,
    writer: ChunkWriter<W>,
) -> Result<u64, StreamError>
where R: AsyncRead + Unpin, W: AsyncWrite + Unpin,
Expand description

Stream content from source to destination.