Enum psbt::InputMatchError
source · Expand description
Errors happening when PSBT or other resolver information does not match the structure of bitcoin transaction
Variants§
NoInputTx
no witness_utxo
and non_witness_utxo
is provided
NoTxidMatch(Txid)
provided non_witness_utxo
does not match transaction input prev_out
UnmatchedInputNumber(u32)
spent transaction does not contain input #{0} referenced by the PSBT input
Trait Implementations§
source§impl Clone for InputMatchError
impl Clone for InputMatchError
source§fn clone(&self) -> InputMatchError
fn clone(&self) -> InputMatchError
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 InputMatchError
impl Debug for InputMatchError
source§impl Display for InputMatchError
impl Display for InputMatchError
source§impl Error for InputMatchError
impl Error for InputMatchError
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<InputMatchError> for FeeError
impl From<InputMatchError> for FeeError
source§fn from(v: InputMatchError) -> Self
fn from(v: InputMatchError) -> Self
Converts to this type from the input type.
source§impl From<InputMatchError> for String
impl From<InputMatchError> for String
source§fn from(err: InputMatchError) -> Self
fn from(err: InputMatchError) -> Self
Converts to this type from the input type.
source§impl Hash for InputMatchError
impl Hash for InputMatchError
source§impl Ord for InputMatchError
impl Ord for InputMatchError
source§fn cmp(&self, other: &InputMatchError) -> Ordering
fn cmp(&self, other: &InputMatchError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<InputMatchError> for InputMatchError
impl PartialEq<InputMatchError> for InputMatchError
source§fn eq(&self, other: &InputMatchError) -> bool
fn eq(&self, other: &InputMatchError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<InputMatchError> for InputMatchError
impl PartialOrd<InputMatchError> for InputMatchError
source§fn partial_cmp(&self, other: &InputMatchError) -> Option<Ordering>
fn partial_cmp(&self, other: &InputMatchError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more