Trait mina_merkle::MaskableMerkleTree
source · [−]pub trait MaskableMerkleTree {
fn register(&self, mask: impl MaskingMerkleTree) -> bool;
fn unregister(&self, mask: impl MaskingMerkleTree) -> bool;
}
Expand description
A merkle tree that can be masked by super::MaskingMerkleTree
Required Methods
sourcefn register(&self, mask: impl MaskingMerkleTree) -> bool
fn register(&self, mask: impl MaskingMerkleTree) -> bool
Register a super::MaskingMerkleTree
sourcefn unregister(&self, mask: impl MaskingMerkleTree) -> bool
fn unregister(&self, mask: impl MaskingMerkleTree) -> bool
Unregister a super::MaskingMerkleTree