pub trait Witness: Height + Sized {
// Required method
fn witness(&self, index: impl Into<u64>) -> Option<(AuthPath<Self>, Hash)>;
}
Available on crate feature
internal
only.Expand description
Witness an authentication path into a tree, or remove a witnessed item from one.
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.