Struct ckb_verification::BlockTransactionsError
source · [−]Expand description
Errors occur during block transactions verification.
Fields
index: u32The index of the first erroneous transaction.
error: ErrorThe underlying error to that erroneous transaction.
Trait Implementations
sourceimpl Debug for BlockTransactionsError
impl Debug for BlockTransactionsError
sourceimpl Display for BlockTransactionsError
impl Display for BlockTransactionsError
sourceimpl Error for BlockTransactionsError
impl Error for BlockTransactionsError
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<BlockTransactionsError> for BlockError
impl From<BlockTransactionsError> for BlockError
sourcefn from(error: BlockTransactionsError) -> Self
fn from(error: BlockTransactionsError) -> Self
Performs the conversion.
sourceimpl From<BlockTransactionsError> for Error
impl From<BlockTransactionsError> for Error
sourcefn from(error: BlockTransactionsError) -> Self
fn from(error: BlockTransactionsError) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for BlockTransactionsError
impl Send for BlockTransactionsError
impl Sync for BlockTransactionsError
impl Unpin for BlockTransactionsError
impl !UnwindSafe for BlockTransactionsError
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