Enum sapio_miniscript::psbt::UxtoUpdateError
source · pub enum UxtoUpdateError {
IndexOutOfBounds(usize, usize),
DerivationError(ConversionError),
MissingInputUxto,
RangeMissingWildCardDescriptor,
IncorrectDescriptor,
}
Expand description
Return error type for PsbtExt::update_desc
Variants§
IndexOutOfBounds(usize, usize)
Index out of bounds
DerivationError(ConversionError)
Derivation error
MissingInputUxto
Missing input utxo
RangeMissingWildCardDescriptor
Range not supplied for a wild-card descriptor
IncorrectDescriptor
Cannot derive output script pubkey using the given descriptor
Trait Implementations§
source§impl Clone for UxtoUpdateError
impl Clone for UxtoUpdateError
source§fn clone(&self) -> UxtoUpdateError
fn clone(&self) -> UxtoUpdateError
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 UxtoUpdateError
impl Debug for UxtoUpdateError
source§impl Display for UxtoUpdateError
impl Display for UxtoUpdateError
source§impl Error for UxtoUpdateError
impl Error for UxtoUpdateError
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 UxtoUpdateError
impl Hash for UxtoUpdateError
source§impl Ord for UxtoUpdateError
impl Ord for UxtoUpdateError
source§fn cmp(&self, other: &UxtoUpdateError) -> Ordering
fn cmp(&self, other: &UxtoUpdateError) -> 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 UxtoUpdateError
impl PartialEq for UxtoUpdateError
source§fn eq(&self, other: &UxtoUpdateError) -> bool
fn eq(&self, other: &UxtoUpdateError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UxtoUpdateError
impl PartialOrd for UxtoUpdateError
source§fn partial_cmp(&self, other: &UxtoUpdateError) -> Option<Ordering>
fn partial_cmp(&self, other: &UxtoUpdateError) -> 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 UxtoUpdateError
impl Eq for UxtoUpdateError
impl StructuralEq for UxtoUpdateError
impl StructuralPartialEq for UxtoUpdateError
Auto Trait Implementations§
impl RefUnwindSafe for UxtoUpdateError
impl Send for UxtoUpdateError
impl Sync for UxtoUpdateError
impl Unpin for UxtoUpdateError
impl UnwindSafe for UxtoUpdateError
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