pub async fn copy_hashed<'a, R, W>(
reader: &'a mut R,
writer: &'a mut W,
algo: HashAlgo,
) -> Result<(u64, NixHash)>Available on crate feature
async only.Expand description
Asynchronously copies the entire contents of a reader into a writer while hashing.