pub trait MerkleTreeUtils {
// Required methods
fn get_latest_leaf_index(&self) -> u32;
fn tree_capacity(&self) -> u32;
fn tree_capacity_is_zero(&self) -> bool;
fn tree_capacity_is_more_than(&self, val: u32) -> bool;
fn get_hpl_info(&self) -> (u32, u32, u64);
}Required Methods§
fn get_latest_leaf_index(&self) -> u32
fn tree_capacity(&self) -> u32
fn tree_capacity_is_zero(&self) -> bool
fn tree_capacity_is_more_than(&self, val: u32) -> bool
fn get_hpl_info(&self) -> (u32, u32, u64)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".