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 duplicate 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<InvalidProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InvalidProof, <__D as Deserializer<'de>>::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) -> MergeError
fn from(v: InvalidProof) -> MergeError
Converts to this type from the input type.
Source§impl From<InvalidProof> for MergeRevealError
impl From<InvalidProof> for MergeRevealError
Source§fn from(v: InvalidProof) -> MergeRevealError
fn from(v: InvalidProof) -> MergeRevealError
Converts to this type from the input type.
Source§impl From<InvalidProof> for StashDataError
impl From<InvalidProof> for StashDataError
Source§fn from(v: InvalidProof) -> StashDataError
fn from(v: InvalidProof) -> StashDataError
Converts to this type from the input type.
Source§impl<P> From<InvalidProof> for StashError<P>where
P: StashProvider,
impl<P> From<InvalidProof> for StashError<P>where
P: StashProvider,
Source§fn from(v: InvalidProof) -> StashError<P>
fn from(v: InvalidProof) -> StashError<P>
Converts to this type from the input type.
Source§impl From<InvalidProof> for String
impl From<InvalidProof> for String
Source§fn from(err: InvalidProof) -> String
fn from(err: InvalidProof) -> String
Converts to this type from the input type.
Source§impl<E> From<InvalidProof> for VerifyError<E>where
E: Error,
impl<E> From<InvalidProof> for VerifyError<E>where
E: Error,
Source§fn from(v: InvalidProof) -> VerifyError<E>
fn from(v: InvalidProof) -> VerifyError<E>
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type