Enum miden_crypto::merkle::TieredSmtProofError
source · pub enum TieredSmtProofError {
EntriesEmpty,
EmptyValueNotAllowed,
MismatchedPrefixes(u64, u64),
MultipleEntriesOutsideLastTier,
NotATierPath(u8),
PathTooLong,
}
Variants§
EntriesEmpty
EmptyValueNotAllowed
MismatchedPrefixes(u64, u64)
MultipleEntriesOutsideLastTier
NotATierPath(u8)
PathTooLong
Trait Implementations§
source§impl Debug for TieredSmtProofError
impl Debug for TieredSmtProofError
source§impl Display for TieredSmtProofError
impl Display for TieredSmtProofError
source§impl Error for TieredSmtProofError
impl Error for TieredSmtProofError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for TieredSmtProofError
impl PartialEq for TieredSmtProofError
source§fn eq(&self, other: &TieredSmtProofError) -> bool
fn eq(&self, other: &TieredSmtProofError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TieredSmtProofError
impl StructuralEq for TieredSmtProofError
impl StructuralPartialEq for TieredSmtProofError
Auto Trait Implementations§
impl RefUnwindSafe for TieredSmtProofError
impl Send for TieredSmtProofError
impl Sync for TieredSmtProofError
impl Unpin for TieredSmtProofError
impl UnwindSafe for TieredSmtProofError
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