pub enum ChainAdvance {
Idle,
Active,
Expired {
chain: u32,
},
}Expand description
Result of advancing simulation time; an expiry is reported exactly once. See the module example. Inspection alone never triggers expiry.
Variants§
Idle
No chain was active.
Active
The chain remains active.
Expired
This chain length expired and was cleared; total and best were retained.
Trait Implementations§
Source§impl Clone for ChainAdvance
impl Clone for ChainAdvance
Source§fn clone(&self) -> ChainAdvance
fn clone(&self) -> ChainAdvance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChainAdvance
impl Debug for ChainAdvance
Source§impl PartialEq for ChainAdvance
impl PartialEq for ChainAdvance
impl Copy for ChainAdvance
impl Eq for ChainAdvance
impl StructuralPartialEq for ChainAdvance
Auto Trait Implementations§
impl Freeze for ChainAdvance
impl RefUnwindSafe for ChainAdvance
impl Send for ChainAdvance
impl Sync for ChainAdvance
impl Unpin for ChainAdvance
impl UnwindSafe for ChainAdvance
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