Enum bitcoin::transaction::TxVerifyError
source · pub enum TxVerifyError {
ScriptVerification(BitcoinconsensusError),
UnknownSpentOutput(OutPoint),
}
Expand description
An error during transaction validation.
Variants§
ScriptVerification(BitcoinconsensusError)
Error validating the script with bitcoinconsensus library.
UnknownSpentOutput(OutPoint)
Can not find the spent output.
Trait Implementations§
source§impl Clone for TxVerifyError
impl Clone for TxVerifyError
source§fn clone(&self) -> TxVerifyError
fn clone(&self) -> TxVerifyError
Returns a copy 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 TxVerifyError
impl Debug for TxVerifyError
source§impl Display for TxVerifyError
impl Display for TxVerifyError
source§impl Error for TxVerifyError
impl Error for TxVerifyError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<BitcoinconsensusError> for TxVerifyError
impl From<BitcoinconsensusError> for TxVerifyError
source§fn from(e: BitcoinconsensusError) -> Self
fn from(e: BitcoinconsensusError) -> Self
Converts to this type from the input type.
source§impl From<Infallible> for TxVerifyError
impl From<Infallible> for TxVerifyError
source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
source§impl PartialEq<TxVerifyError> for TxVerifyError
impl PartialEq<TxVerifyError> for TxVerifyError
source§fn eq(&self, other: &TxVerifyError) -> bool
fn eq(&self, other: &TxVerifyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TxVerifyError
impl StructuralEq for TxVerifyError
impl StructuralPartialEq for TxVerifyError
Auto Trait Implementations§
impl RefUnwindSafe for TxVerifyError
impl Send for TxVerifyError
impl Sync for TxVerifyError
impl Unpin for TxVerifyError
impl UnwindSafe for TxVerifyError
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