Enum bdk::wallet::verify::VerifyError
source · pub enum VerifyError {
MissingInputTx(Txid),
InvalidInput(OutPoint),
Consensus(Error),
Global(Box<Error>),
}
Available on crate feature
verify
only.Expand description
Error during validation of a tx agains the consensus rules
Variants
MissingInputTx(Txid)
The transaction being spent is not available in the database or the blockchain client
InvalidInput(OutPoint)
The transaction being spent doesn’t have the requested output
Consensus(Error)
Consensus error
Global(Box<Error>)
Generic error
It has to be wrapped in a Box
since Error
has a variant that contains this enum
Trait Implementations
sourceimpl Debug for VerifyError
impl Debug for VerifyError
sourceimpl Display for VerifyError
impl Display for VerifyError
sourceimpl Error for VerifyError
impl Error for VerifyError
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
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<Error> for VerifyError
impl From<Error> for VerifyError
sourceimpl From<Error> for VerifyError
impl From<Error> for VerifyError
sourceimpl From<VerifyError> for Error
impl From<VerifyError> for Error
sourcefn from(other: VerifyError) -> Self
fn from(other: VerifyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for VerifyError
impl Send for VerifyError
impl Sync for VerifyError
impl Unpin for VerifyError
impl !UnwindSafe for VerifyError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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