pub enum Error {
VerificationFailed(String),
Secp256k1(Error),
InvalidControlBlock,
InvalidSighash,
MissingSpentOutputs,
UnexpectedInput,
}Expand description
Comprehensive error type for verify_and_sign operations
Variants§
VerificationFailed(String)
Verification failed
Secp256k1(Error)
Wrapped secp256k1 errors from cryptographic operations
InvalidControlBlock
Invalid control block format or size
InvalidSighash
Unable to calculate sighash
MissingSpentOutputs
Missing spent outputs
UnexpectedInput
Unexpected input scriptPubKey
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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