pub trait MerkleProof<T: NodeValue>:
Eq
+ PartialEq
+ Hash
+ Clone
+ CanonicalSerialize
+ CanonicalDeserialize
+ Serialize
+ for<'a> Deserialize<'a> {
// Required methods
fn height(&self) -> usize;
fn path_values(&self) -> &[Vec<T>];
}
Expand description
Trait for a Merkle proof
Required Methods§
Sourcefn path_values(&self) -> &[Vec<T>]
fn path_values(&self) -> &[Vec<T>]
Return all values of siblings of this Merkle path
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.