[][src]Crate hashing_copy

Functions

copy_and_hash

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.