pub enum PsetError {
InputIndexOutOfRange {
index: usize,
total: usize,
},
GenesisHashParse(HexToArrayError),
MissingSimplicityLeaf {
cmr: String,
},
PsetExtract(Error),
MissingWitnessUtxo(usize),
}Variants§
InputIndexOutOfRange
GenesisHashParse(HexToArrayError)
MissingSimplicityLeaf
PsetExtract(Error)
MissingWitnessUtxo(usize)
Trait Implementations§
Source§impl Error for PsetError
impl Error for PsetError
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 From<PsetError> for PsetCreateError
impl From<PsetError> for PsetCreateError
Source§impl From<PsetError> for PsetExtractError
impl From<PsetError> for PsetExtractError
Source§impl From<PsetError> for PsetFinalizeError
impl From<PsetError> for PsetFinalizeError
Source§impl From<PsetError> for PsetRunError
impl From<PsetError> for PsetRunError
Auto Trait Implementations§
impl Freeze for PsetError
impl RefUnwindSafe for PsetError
impl Send for PsetError
impl Sync for PsetError
impl Unpin for PsetError
impl UnwindSafe for PsetError
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