pub enum VerifyError<E>where
E: Error,{
Dbc(E),
Mpc(InvalidProof),
}Expand description
Errors verifying anchors.
Variants§
Trait Implementations§
Source§impl<E> Clone for VerifyError<E>
impl<E> Clone for VerifyError<E>
Source§fn clone(&self) -> VerifyError<E>
fn clone(&self) -> VerifyError<E>
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<E> Debug for VerifyError<E>
impl<E> Debug for VerifyError<E>
Source§impl<'de, E> Deserialize<'de> for VerifyError<E>where
E: Error + Deserialize<'de>,
impl<'de, E> Deserialize<'de> for VerifyError<E>where
E: Error + Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerifyError<E>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerifyError<E>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<E> Display for VerifyError<E>where
E: Error,
impl<E> Display for VerifyError<E>where
E: Error,
Source§impl<E> Error for VerifyError<E>where
E: Error,
impl<E> Error for VerifyError<E>where
E: Error,
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<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<E> From<VerifyError<E>> for Stringwhere
E: Error,
impl<E> From<VerifyError<E>> for Stringwhere
E: Error,
Source§fn from(err: VerifyError<E>) -> String
fn from(err: VerifyError<E>) -> String
Converts to this type from the input type.
Source§impl<E> PartialEq for VerifyError<E>
impl<E> PartialEq for VerifyError<E>
Source§impl<E> Serialize for VerifyError<E>
impl<E> Serialize for VerifyError<E>
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<E> Eq for VerifyError<E>
impl<E> StructuralPartialEq for VerifyError<E>where
E: Error,
Auto Trait Implementations§
impl<E> Freeze for VerifyError<E>where
E: Freeze,
impl<E> RefUnwindSafe for VerifyError<E>where
E: RefUnwindSafe,
impl<E> Send for VerifyError<E>where
E: Send,
impl<E> Sync for VerifyError<E>where
E: Sync,
impl<E> Unpin for VerifyError<E>where
E: Unpin,
impl<E> UnwindSafe for VerifyError<E>where
E: UnwindSafe,
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