Crate hashing_copy
Copy data from reader to writer, along the way hashing using H which must implement Digest. Return value is the same as for std::io::copy except that it returns a 2 tuple of the bytes copied, and the hash value, or an io::Error.
reader
writer
H
std::io::copy
io::Error