Enum dbc::anchor::VerifyError
source · pub enum VerifyError {
Tapret(TapretError),
Lnpbp4InvalidProof(InvalidProof),
}
Expand description
Errors verifying anchors.
Variants§
Tapret(TapretError)
Tapret commitment verification failure.
Lnpbp4InvalidProof(InvalidProof)
LNPBP-4 invalid proof. Details: {0}
Trait Implementations§
source§impl Clone for VerifyError
impl Clone for VerifyError
source§fn clone(&self) -> VerifyError
fn clone(&self) -> VerifyError
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 VerifyError
impl Debug for VerifyError
source§impl<'de> Deserialize<'de> for VerifyError
impl<'de> Deserialize<'de> for VerifyError
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 VerifyError
impl Display for VerifyError
source§impl Error for VerifyError
impl Error for VerifyError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 VerifyError
impl From<InvalidProof> for VerifyError
source§fn from(v: InvalidProof) -> Self
fn from(v: InvalidProof) -> Self
Converts to this type from the input type.
source§impl From<TapretError> for VerifyError
impl From<TapretError> for VerifyError
source§fn from(v: TapretError) -> Self
fn from(v: TapretError) -> Self
Converts to this type from the input type.
source§impl From<VerifyError> for String
impl From<VerifyError> for String
source§fn from(err: VerifyError) -> Self
fn from(err: VerifyError) -> Self
Converts to this type from the input type.
source§impl PartialEq for VerifyError
impl PartialEq for VerifyError
source§fn eq(&self, other: &VerifyError) -> bool
fn eq(&self, other: &VerifyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VerifyError
impl Serialize for VerifyError
impl Eq for VerifyError
impl StructuralEq for VerifyError
impl StructuralPartialEq for VerifyError
Auto Trait Implementations§
impl RefUnwindSafe for VerifyError
impl Send for VerifyError
impl Sync for VerifyError
impl Unpin for VerifyError
impl UnwindSafe for VerifyError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.