Enum wallet::psbt::SigningError [−][src]
Variants
Provided non_witness_utxo TXID {non_witness_utxo_txid} does not match
prev_out {txid} from the transaction input #{index}
SigHashType(usize, SigHashType)Input #{0} requires custom sighash type {1}, while only SIGHASH_ALL
is allowed
Public key {provided} provided with PSBT input does not match public key {derived} derived from the supplied private key using derivation path from that input
NoPrevoutScript(usize)No redeem or witness script specified for input #{0}
NoWitnessScript(usize)Input #{0} spending witness output does not contain witness script source
NonWitnessInput(usize)Input #{0} must be a witness input since it is supplied with
witness_utxo data and does not have non_witness_utxo
SecpPrivkeyDerivation(usize)Unable to derive private key with a given derivation path: elliptic
curve prime field order (p) overflow or derivation resulting at the
point-at-infinity.
ScriptPubkeyMismatch(usize)scriptPubkey from previous output does not match witness or redeem
script from the same input #{0} supplied in PSBT
Wrong pay-to-contract public key tweak data length in input #{input}: {len} bytes instead of 32
Error applying tweak matching public key {1} from input #{0}: the tweak
value is either a modulo-negation of the original private key, or
it leads to elliptic curve prime field order (p) overflow
Trait Implementations
impl Clone for SigningError[src]
fn clone(&self) -> SigningError[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for SigningError[src]
impl Debug for SigningError[src]
impl Display for SigningError[src]
impl Eq for SigningError[src]
impl Error for SigningError[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>[src]
pub fn description(&self) -> &str1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>1.0.0[src]
impl PartialEq<SigningError> for SigningError[src]
fn eq(&self, other: &SigningError) -> bool[src]
fn ne(&self, other: &SigningError) -> bool[src]
impl StructuralEq for SigningError[src]
impl StructuralPartialEq for SigningError[src]
Auto Trait Implementations
impl RefUnwindSafe for SigningError
impl Send for SigningError
impl Sync for SigningError
impl Unpin for SigningError
impl UnwindSafe for SigningError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,