pub struct InvalidProof { /* private fields */ }Expand description
the provided merkle proof protocol id {protocol_id} position {actual} doesn’t match the expected position {expected} within the tree of width {width}.
Trait Implementations§
Source§impl Clone for InvalidProof
 
impl Clone for InvalidProof
Source§fn clone(&self) -> InvalidProof
 
fn clone(&self) -> InvalidProof
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 moreSource§impl Debug for InvalidProof
 
impl Debug for InvalidProof
Source§impl<'de> Deserialize<'de> for InvalidProof
 
impl<'de> Deserialize<'de> for InvalidProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for InvalidProof
 
impl Display for InvalidProof
Source§impl Error for InvalidProof
 
impl Error for InvalidProof
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()
Source§impl From<InvalidProof> for MergeError
 
impl From<InvalidProof> for MergeError
Source§fn from(v: InvalidProof) -> Self
 
fn from(v: InvalidProof) -> Self
Converts to this type from the input type.
Source§impl From<InvalidProof> for String
 
impl From<InvalidProof> for String
Source§fn from(err: InvalidProof) -> Self
 
fn from(err: InvalidProof) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidProof
 
impl Hash for InvalidProof
Source§impl PartialEq for InvalidProof
 
impl PartialEq for InvalidProof
Source§impl Serialize for InvalidProof
 
impl Serialize for InvalidProof
impl Copy for InvalidProof
impl Eq for InvalidProof
impl StructuralPartialEq for InvalidProof
Auto Trait Implementations§
impl Freeze for InvalidProof
impl RefUnwindSafe for InvalidProof
impl Send for InvalidProof
impl Sync for InvalidProof
impl Unpin for InvalidProof
impl UnwindSafe for InvalidProof
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.