pub enum SimplicitySighashError {
Show 20 variants
PsetExtraction(Error),
TransactionHexParsing(Error),
TransactionDecoding(Error),
InputIndexParsing(ParseIntError),
CmrParsing(HexToArrayError),
ControlBlockHexParsing(Error),
ControlBlockDecoding(TaprootError),
InputIndexOutOfRange {
index: u32,
n_inputs: usize,
},
ControlBlockNotFound {
cmr: String,
},
ControlBlockRequired,
WitnessUtxoMissing {
input: usize,
},
InputUtxosRequired,
InputUtxoCountMismatch {
expected: usize,
actual: usize,
},
GenesisHashParsing(HexToArrayError),
SecretKeyParsing(Error),
PublicKeyMismatch {
derived: String,
provided: String,
},
PublicKeyParsing(Error),
SignatureParsing(Error),
SignatureWithoutPublicKey,
InputUtxoParsing(ParseElementsUtxoError),
}Variants§
PsetExtraction(Error)
TransactionHexParsing(Error)
TransactionDecoding(Error)
InputIndexParsing(ParseIntError)
CmrParsing(HexToArrayError)
ControlBlockHexParsing(Error)
ControlBlockDecoding(TaprootError)
InputIndexOutOfRange
ControlBlockNotFound
ControlBlockRequired
WitnessUtxoMissing
InputUtxosRequired
InputUtxoCountMismatch
GenesisHashParsing(HexToArrayError)
SecretKeyParsing(Error)
PublicKeyMismatch
PublicKeyParsing(Error)
SignatureParsing(Error)
SignatureWithoutPublicKey
InputUtxoParsing(ParseElementsUtxoError)
Trait Implementations§
Source§impl Debug for SimplicitySighashError
impl Debug for SimplicitySighashError
Source§impl Display for SimplicitySighashError
impl Display for SimplicitySighashError
Source§impl Error for SimplicitySighashError
impl Error for SimplicitySighashError
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()
Auto Trait Implementations§
impl Freeze for SimplicitySighashError
impl !RefUnwindSafe for SimplicitySighashError
impl Send for SimplicitySighashError
impl Sync for SimplicitySighashError
impl Unpin for SimplicitySighashError
impl !UnwindSafe for SimplicitySighashError
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