pub enum BlockEpoch {
TailBlock {
epoch: EpochExt,
epoch_uncles_count: u64,
epoch_duration_in_milliseconds: u64,
},
NonTailBlock {
epoch: EpochExt,
},
}
Expand description
Progress of block’s corresponding epoch
Variants§
TailBlock
Block is the tail block of epoch, provides extra statistics for next epoch generating or verifying
Fields
NonTailBlock
Non tail block of epoch
Implementations§
Auto Trait Implementations§
impl !Freeze for BlockEpoch
impl RefUnwindSafe for BlockEpoch
impl Send for BlockEpoch
impl Sync for BlockEpoch
impl Unpin for BlockEpoch
impl UnwindSafe for BlockEpoch
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