pub trait Chksum<T>: Update { type Error; // Provided method fn chksum(data: T) -> Result<Self::Digest, Self::Error> { ... } }
A trait for objects which are able to calculate checksum of given input.
The type of the returned error.
Calculates checksum of given input.
Check chksum function for more details.
chksum