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