pub trait Path: IsHeight + Sized {
type Path;
// Required method
fn root(path: &Self::Path, index: u64, leaf: Hash) -> Hash;
}
Available on crate feature
internal
only.Expand description
Identifies the unique type representing an authentication path for the given height.
Required Associated Types§
Required 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.