pub enum BinTrieError {
KeyExists,
KeyNotFound,
InvalidProof,
ExistingProof,
BadProof,
InvalidHashLength,
InvalidPubkeyLength,
ProofVerificationFailed,
}Expand description
Errors that can occur during binary trie operations
Variants§
KeyExists
KeyNotFound
InvalidProof
ExistingProof
BadProof
InvalidHashLength
InvalidPubkeyLength
ProofVerificationFailed
Trait Implementations§
Source§impl Debug for BinTrieError
impl Debug for BinTrieError
Source§impl Display for BinTrieError
impl Display for BinTrieError
Source§impl Error for BinTrieError
impl Error for BinTrieError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Auto Trait Implementations§
impl Freeze for BinTrieError
impl RefUnwindSafe for BinTrieError
impl Send for BinTrieError
impl Sync for BinTrieError
impl Unpin for BinTrieError
impl UnwindSafe for BinTrieError
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