Trait fvm_ipld_hamt::Hash
source · pub trait Hash {
// Required method
fn hash<H>(&self, state: &mut H)
where H: Hasher;
// Provided method
fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher,
Self: Sized { ... }
}
Expand description
Custom trait to avoid issues like https://github.com/rust-lang/rust/issues/27108.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.