Enum ckb_verification::TimestampError
source · [−]pub enum TimestampError {
BlockTimeTooOld {
min: u64,
actual: u64,
},
BlockTimeTooNew {
max: u64,
actual: u64,
},
}
Expand description
Errors due to the fact that the block timestamp rule is not respected.
Variants
BlockTimeTooOld
The block timestamp is older than the allowed oldest timestamp.
BlockTimeTooNew
The block timestamp is newer than the allowed newest timestamp.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TimestampError
impl Send for TimestampError
impl Sync for TimestampError
impl Unpin for TimestampError
impl UnwindSafe for TimestampError
Blanket Implementations
Mutably borrows from an owned value. Read more