Enum miden_processor::MerkleError
pub enum MerkleError {
DepthTooSmall(u8),
DepthTooBig(u64),
NumLeavesNotPowerOfTwo(usize),
InvalidIndex(NodeIndex),
InvalidDepth {
expected: u8,
provided: u8,
},
InvalidPath(MerklePath),
InvalidEntriesCount(usize, usize),
NodeNotInSet(u64),
}
Variants§
DepthTooSmall(u8)
DepthTooBig(u64)
NumLeavesNotPowerOfTwo(usize)
InvalidIndex(NodeIndex)
InvalidDepth
InvalidPath(MerklePath)
InvalidEntriesCount(usize, usize)
NodeNotInSet(u64)
Trait Implementations§
§impl Clone for MerkleError
impl Clone for MerkleError
§fn clone(&self) -> MerkleError
fn clone(&self) -> MerkleError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more