Function copy_async

Source
pub async fn copy_async<R, W>(r: R, w: W) -> Result<()>
where R: AsyncBufRead + Send + Unpin, W: AsyncWrite + Send + Unpin,
Expand description

Reads through the entire NAR, and writes it back to a writer. This verifies its syntactical correctness.