pub enum SignPsbtError {
InvalidPath(usize),
InvalidScript(usize),
MissingPubkey(usize),
MissingUtxo(usize),
PubkeyMismatch(usize),
SighashError(String),
SignatureError(String),
SlotNotUnsealed(u8),
CkTap(CkTapError),
WitnessProgram(String),
}
Variants§
InvalidPath(usize)
InvalidScript(usize)
MissingPubkey(usize)
MissingUtxo(usize)
PubkeyMismatch(usize)
SighashError(String)
SignatureError(String)
SlotNotUnsealed(u8)
CkTap(CkTapError)
WitnessProgram(String)
Trait Implementations§
Source§impl Clone for SignPsbtError
impl Clone for SignPsbtError
Source§fn clone(&self) -> SignPsbtError
fn clone(&self) -> SignPsbtError
Returns a duplicate 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 SignPsbtError
impl Debug for SignPsbtError
Source§impl Display for SignPsbtError
impl Display for SignPsbtError
Source§impl Error for SignPsbtError
impl Error for SignPsbtError
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<CkTapError> for SignPsbtError
impl From<CkTapError> for SignPsbtError
Source§fn from(source: CkTapError) -> Self
fn from(source: CkTapError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SignPsbtError
impl PartialEq for SignPsbtError
impl Eq for SignPsbtError
impl StructuralPartialEq for SignPsbtError
Auto Trait Implementations§
impl Freeze for SignPsbtError
impl RefUnwindSafe for SignPsbtError
impl Send for SignPsbtError
impl Sync for SignPsbtError
impl Unpin for SignPsbtError
impl UnwindSafe for SignPsbtError
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