pub trait MKTreeStorer:
Clone
+ Send
+ Sync
+ MKTreeLeafIndexer {
// Required methods
fn build() -> StdResult<Self>;
fn get_elem(&self, pos: u64) -> StdResult<Option<Arc<MKTreeNode>>>;
fn append(&self, pos: u64, elems: Vec<Arc<MKTreeNode>>) -> StdResult<()>;
}
Expand description
The Merkle tree storer trait
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.