Enum miniscript::psbt::OutputUpdateError
source · pub enum OutputUpdateError {
IndexOutOfBounds(usize, usize),
MissingTxOut,
DerivationError(ConversionError),
MismatchedScriptPubkey,
}
Expand description
Return error type for PsbtExt::update_output_with_descriptor
Variants§
IndexOutOfBounds(usize, usize)
Index out of bounds
MissingTxOut
The raw unsigned transaction didn’t have an output at that index
DerivationError(ConversionError)
Derivation error
MismatchedScriptPubkey
The output’s script_pubkey did not match the descriptor
Trait Implementations§
source§impl Clone for OutputUpdateError
impl Clone for OutputUpdateError
source§fn clone(&self) -> OutputUpdateError
fn clone(&self) -> OutputUpdateError
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 OutputUpdateError
impl Debug for OutputUpdateError
source§impl Display for OutputUpdateError
impl Display for OutputUpdateError
source§impl Error for OutputUpdateError
impl Error for OutputUpdateError
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)>
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 OutputUpdateError
impl Hash for OutputUpdateError
source§impl Ord for OutputUpdateError
impl Ord for OutputUpdateError
source§fn cmp(&self, other: &OutputUpdateError) -> Ordering
fn cmp(&self, other: &OutputUpdateError) -> 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<OutputUpdateError> for OutputUpdateError
impl PartialEq<OutputUpdateError> for OutputUpdateError
source§fn eq(&self, other: &OutputUpdateError) -> bool
fn eq(&self, other: &OutputUpdateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OutputUpdateError> for OutputUpdateError
impl PartialOrd<OutputUpdateError> for OutputUpdateError
source§fn partial_cmp(&self, other: &OutputUpdateError) -> Option<Ordering>
fn partial_cmp(&self, other: &OutputUpdateError) -> 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 moreimpl Copy for OutputUpdateError
impl Eq for OutputUpdateError
impl StructuralEq for OutputUpdateError
impl StructuralPartialEq for OutputUpdateError
Auto Trait Implementations§
impl RefUnwindSafe for OutputUpdateError
impl Send for OutputUpdateError
impl Sync for OutputUpdateError
impl Unpin for OutputUpdateError
impl UnwindSafe for OutputUpdateError
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