Enum revault_tx::error::InputSatisfactionError
source · [−]pub enum InputSatisfactionError {
OutOfBounds,
AlreadyFinalized,
MissingWitnessScript,
InvalidSignature(Signature, PublicKey, Message),
}
Expand description
Error when satisfying a Revault Bitcoin transaction input
Variants
OutOfBounds
Index is out of bounds of the inputs list
AlreadyFinalized
This input was already finalized and its witness map wiped
MissingWitnessScript
The PSBT input does not comport a witness_script field
InvalidSignature(Signature, PublicKey, Message)
Trying to add an invalid signature
Trait Implementations
sourceimpl Debug for InputSatisfactionError
impl Debug for InputSatisfactionError
sourceimpl Display for InputSatisfactionError
impl Display for InputSatisfactionError
sourceimpl Error for InputSatisfactionError
impl Error for InputSatisfactionError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<InputSatisfactionError> for Error
impl From<InputSatisfactionError> for Error
sourcefn from(e: InputSatisfactionError) -> Self
fn from(e: InputSatisfactionError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<InputSatisfactionError> for InputSatisfactionError
impl PartialEq<InputSatisfactionError> for InputSatisfactionError
sourcefn eq(&self, other: &InputSatisfactionError) -> bool
fn eq(&self, other: &InputSatisfactionError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InputSatisfactionError) -> bool
fn ne(&self, other: &InputSatisfactionError) -> bool
This method tests for !=
.
impl Eq for InputSatisfactionError
impl StructuralEq for InputSatisfactionError
impl StructuralPartialEq for InputSatisfactionError
Auto Trait Implementations
impl RefUnwindSafe for InputSatisfactionError
impl Send for InputSatisfactionError
impl Sync for InputSatisfactionError
impl Unpin for InputSatisfactionError
impl UnwindSafe for InputSatisfactionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more