pub trait HashOp: Op { type Hash: Hash; // Required methods fn kind(&self) -> HashKind; fn finish(&mut self) -> Result<Self::Hash>; }
An ongoing hash operation.
The specific hash type which is returned by the finish method.
Returns the kind of hash this operation is computing.
Finish this operation and return a hash type containing the result.