pub enum IncrementalMerkleTreeError {
TreeFull,
LoopDidNotTerminate,
IndexOutOfBounds,
}
Expand description
The error type for the IncrementalMerkleTree.
Variants§
TreeFull
The tree is full and cannot accept any more leaves.
LoopDidNotTerminate
The loop did not terminate after at most height
iterations in the append
function.
IndexOutOfBounds
Index out of bounds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IncrementalMerkleTreeError
impl RefUnwindSafe for IncrementalMerkleTreeError
impl Send for IncrementalMerkleTreeError
impl Sync for IncrementalMerkleTreeError
impl Unpin for IncrementalMerkleTreeError
impl UnwindSafe for IncrementalMerkleTreeError
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