pub trait TreeHasher<V> {
// Required methods
fn hash_value(value: &V) -> Fp;
fn empty_value() -> V;
fn merge_hash(depth: usize, left: Fp, right: Fp) -> Fp;
}
Required Methods§
fn hash_value(value: &V) -> Fp
fn empty_value() -> V
fn merge_hash(depth: usize, left: Fp, right: Fp) -> Fp
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.