pub enum PsetUpdateInputError {
SharedError(PsetError),
PsetDecode(ParseError),
InputIndexParse(ParseIntError),
InputIndexOutOfRange {
index: usize,
total: usize,
},
CmrParse(HexToArrayError),
InternalKeyParse(Error),
MissingInternalKey,
NotTaprootOutput,
StateParse(HexToArrayError),
OutputKeyMismatch {
output_key: String,
script_pubkey: String,
},
ElementsUtxoParse(ParseElementsUtxoError),
}Variants§
PsetDecode(ParseError)
InputIndexParse(ParseIntError)
InputIndexOutOfRange
CmrParse(HexToArrayError)
InternalKeyParse(Error)
MissingInternalKey
NotTaprootOutput
StateParse(HexToArrayError)
OutputKeyMismatch
ElementsUtxoParse(ParseElementsUtxoError)
Trait Implementations§
Source§impl Debug for PsetUpdateInputError
impl Debug for PsetUpdateInputError
Source§impl Display for PsetUpdateInputError
impl Display for PsetUpdateInputError
Source§impl Error for PsetUpdateInputError
impl Error for PsetUpdateInputError
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()
Auto Trait Implementations§
impl Freeze for PsetUpdateInputError
impl !RefUnwindSafe for PsetUpdateInputError
impl Send for PsetUpdateInputError
impl Sync for PsetUpdateInputError
impl Unpin for PsetUpdateInputError
impl !UnwindSafe for PsetUpdateInputError
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