pub trait HashWith: AsRef<[u8]> + From<Digest> {
// Provided method
fn hash_with(&self, tag: &[u8]) -> Self { ... }
}Expand description
A generic trait for hashing with a tag.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.