pub enum MerkleTreeError {
LeafNotFound,
InvalidCheck,
RootHaveNoSiblings,
NotSupportedType,
}
Expand description
The error type for the StandardMerkleTree.
Variants§
LeafNotFound
The specified leaf was not found in the tree.
InvalidCheck
An invalid check occurred during tree operations.
RootHaveNoSiblings
The root node does not have any siblings.
NotSupportedType
The leaf type is not supported by the tree.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MerkleTreeError
impl RefUnwindSafe for MerkleTreeError
impl Send for MerkleTreeError
impl Sync for MerkleTreeError
impl Unpin for MerkleTreeError
impl UnwindSafe for MerkleTreeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more