pub enum BlockValidationError {
MismatchedIndex,
InvalidHash,
AchronologicalTimestamp,
MismatchedPreviousHash,
InvalidGenesisBlockFormat,
InvalidInput,
InsufficientInputValue,
InvalidCoinbaseTransaction,
InvalidCoinbaseTransactionFee,
NonceAttemptFailed,
}
Variants
MismatchedIndex
InvalidHash
AchronologicalTimestamp
MismatchedPreviousHash
InvalidGenesisBlockFormat
InvalidInput
InsufficientInputValue
InvalidCoinbaseTransaction
InvalidCoinbaseTransactionFee
NonceAttemptFailed
Trait Implementations
sourceimpl Debug for BlockValidationError
impl Debug for BlockValidationError
sourceimpl Display for BlockValidationError
impl Display for BlockValidationError
sourceimpl From<BlockValidationError> for CustomError
impl From<BlockValidationError> for CustomError
sourcefn from(cause: BlockValidationError) -> CustomError
fn from(cause: BlockValidationError) -> CustomError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for BlockValidationError
impl Send for BlockValidationError
impl Sync for BlockValidationError
impl Unpin for BlockValidationError
impl UnwindSafe for BlockValidationError
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