Enum dbc::anchor::MergeError
source · pub enum MergeError {
Lnpbp4Mismatch(MergeError),
TxidMismatch,
ProofMismatch,
}
Expand description
Error merging two Anchor
s.
Variants§
Lnpbp4Mismatch(MergeError)
Error merging two LNPBP-4 proofs, which are unrelated.
TxidMismatch
anchors can’t be merged since they have different witness transactions
ProofMismatch
anchors can’t be merged since they have different proofs
Trait Implementations§
source§impl Clone for MergeError
impl Clone for MergeError
source§fn clone(&self) -> MergeError
fn clone(&self) -> MergeError
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 MergeError
impl Debug for MergeError
source§impl Display for MergeError
impl Display for MergeError
source§impl Error for MergeError
impl Error for MergeError
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<MergeError> for MergeError
impl From<MergeError> for MergeError
source§fn from(v: MergeError) -> Self
fn from(v: MergeError) -> Self
Converts to this type from the input type.
source§impl From<MergeError> for String
impl From<MergeError> for String
source§fn from(err: MergeError) -> Self
fn from(err: MergeError) -> Self
Converts to this type from the input type.
source§impl Hash for MergeError
impl Hash for MergeError
source§impl PartialEq for MergeError
impl PartialEq for MergeError
source§fn eq(&self, other: &MergeError) -> bool
fn eq(&self, other: &MergeError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MergeError
impl Eq for MergeError
impl StructuralEq for MergeError
impl StructuralPartialEq for MergeError
Auto Trait Implementations§
impl RefUnwindSafe for MergeError
impl Send for MergeError
impl Sync for MergeError
impl Unpin for MergeError
impl UnwindSafe for MergeError
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.