Enum psbt_v2::v2::input::CombineError
source · #[non_exhaustive]pub enum CombineError {
PreviousTxidMismatch {
this: Txid,
that: Txid,
},
SpentOutputIndexMismatch {
this: u32,
that: u32,
},
}Expand description
Error combining two input maps.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PreviousTxidMismatch
Fields
The previous txids are not the same.
SpentOutputIndexMismatch
Fields
The spent output indecies are not the same.
Trait Implementations§
source§impl Clone for CombineError
impl Clone for CombineError
source§fn clone(&self) -> CombineError
fn clone(&self) -> CombineError
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 CombineError
impl Debug for CombineError
source§impl Display for CombineError
impl Display for CombineError
source§impl Error for CombineError
Available on crate feature std only.
impl Error for CombineError
Available on crate feature
std only.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<CombineError> for CombineError
impl From<CombineError> for CombineError
source§fn from(e: CombineError) -> Self
fn from(e: CombineError) -> Self
Converts to this type from the input type.
source§impl PartialEq for CombineError
impl PartialEq for CombineError
source§fn eq(&self, other: &CombineError) -> bool
fn eq(&self, other: &CombineError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CombineError
impl StructuralPartialEq for CombineError
Auto Trait Implementations§
impl RefUnwindSafe for CombineError
impl Send for CombineError
impl Sync for CombineError
impl Unpin for CombineError
impl UnwindSafe for CombineError
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