pub enum UtxoUpdateError {
IndexOutOfBounds(usize, usize),
MissingInputUtxo,
DerivationError(ConversionError),
UtxoCheck,
MismatchedScriptPubkey,
}
Expand description
Return error type for PsbtExt::update_input_with_descriptor
Variants§
IndexOutOfBounds(usize, usize)
Index out of bounds
MissingInputUtxo
The unsigned transaction didn’t have an input at that index
DerivationError(ConversionError)
Derivation error
UtxoCheck
The PSBT’s witness_utxo
and/or non_witness_utxo
were invalid or missing
MismatchedScriptPubkey
The PSBT’s witness_utxo
and/or non_witness_utxo
had a script_pubkey that did not match
the descriptor
Trait Implementations§
Source§impl Clone for UtxoUpdateError
impl Clone for UtxoUpdateError
Source§fn clone(&self) -> UtxoUpdateError
fn clone(&self) -> UtxoUpdateError
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 UtxoUpdateError
impl Debug for UtxoUpdateError
Source§impl Display for UtxoUpdateError
impl Display for UtxoUpdateError
Source§impl Error for UtxoUpdateError
impl Error for UtxoUpdateError
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 Hash for UtxoUpdateError
impl Hash for UtxoUpdateError
Source§impl Ord for UtxoUpdateError
impl Ord for UtxoUpdateError
Source§fn cmp(&self, other: &UtxoUpdateError) -> Ordering
fn cmp(&self, other: &UtxoUpdateError) -> 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 for UtxoUpdateError
impl PartialEq for UtxoUpdateError
Source§impl PartialOrd for UtxoUpdateError
impl PartialOrd for UtxoUpdateError
impl Copy for UtxoUpdateError
impl Eq for UtxoUpdateError
impl StructuralPartialEq for UtxoUpdateError
Auto Trait Implementations§
impl Freeze for UtxoUpdateError
impl RefUnwindSafe for UtxoUpdateError
impl Send for UtxoUpdateError
impl Sync for UtxoUpdateError
impl Unpin for UtxoUpdateError
impl UnwindSafe for UtxoUpdateError
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