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§
Object Safety§
This trait is not object safe.