[−][src]Enum geen::GeneError
Represents an error in proof creation, verification, or parsing.
Variants
This error occurs when we receive a proof that's outdated and cannot be auto-updated.
This error occurs when the merkle proof is too short or too long, or does not lead to a node to which it should.
Merkle proof root hash does not match when attempting to verify.
You tried to construct or verify a Merkle proof using a non-leaf node as the inclusion candidate
HashNotFound(usize)
There was no hash in the merkle tree backend with the given position
The list of peak hashes provided in the proof has an error
Unexpected
BackendError(String)
A problem has been encountered with the backend
The Merkle tree is not internally consistent. A parent hash isn't equal to the hash of its children
The next position was not a leaf node as expected
The tree has reached its maximum size
A request was out of range
Conflicting or invalid configuration parameters provided.
Trait Implementations
impl Clone for GeneError
[src]
impl Eq for GeneError
[src]
impl PartialEq<GeneError> for GeneError
[src]
impl Display for GeneError
[src]
impl Debug for GeneError
[src]
impl StructuralPartialEq for GeneError
[src]
impl StructuralEq for GeneError
[src]
impl Error for GeneError
[src]
Auto Trait Implementations
impl Send for GeneError
impl Sync for GeneError
impl Unpin for GeneError
impl UnwindSafe for GeneError
impl RefUnwindSafe for GeneError
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn backtrace(&self) -> Option<&Backtrace>
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
D: Display + Send + Sync + 'static,
fn compat(self) -> Compat<Self>
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> AsFail for T where
T: Fail,
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,