pub trait Digest<N: Node>: Default {
// Required methods
fn leaf_digest<R: BufRead>(entry: R) -> N;
fn node_digest(left: (TreeID, &N), right: (TreeID, &N)) -> N;
}
Expand description
Required Methods§
Sourcefn leaf_digest<R: BufRead>(entry: R) -> N
fn leaf_digest<R: BufRead>(entry: R) -> N
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.