Enum psbt::DeductionError [−][src]
pub enum DeductionError {
NonTaprootV1,
UnsupportedWitnessVersion(WitnessVersion),
P2shWithoutRedeemScript,
InvalidRedeemScript,
}
Expand description
Errors that happens during deduction process
Variants
NonTaprootV1
input spends non-taproot witness version 1
UnsupportedWitnessVersion(WitnessVersion)
Tuple Fields
input spends future witness version {0}
P2shWithoutRedeemScript
input spends P2SH output, but no redeedScript
is present in the PSBT
input data
InvalidRedeemScript
redeem script is invalid in context of nested (legacy) P2W*-in-P2SH spending
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DeductionError
impl Send for DeductionError
impl Sync for DeductionError
impl Unpin for DeductionError
impl UnwindSafe for DeductionError
Blanket Implementations
Mutably borrows from an owned value. Read more