Enum tari_mmr::MerkleProofError [−][src]
pub enum MerkleProofError {
RootMismatch,
NonLeafNode,
HashNotFound(usize),
IncorrectPeakMap,
Unexpected,
MerkleMountainRangeError(MerkleMountainRangeError),
}
Expand description
Merkle proof errors.
Variants
Tuple Fields of HashNotFound
0: usize
Tuple Fields of MerkleMountainRangeError
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MerkleProofError
impl Send for MerkleProofError
impl Sync for MerkleProofError
impl Unpin for MerkleProofError
impl UnwindSafe for MerkleProofError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self