pub struct EpochCounter { /* private fields */ }Expand description
Global epoch counter, incremented by TickEngine at each snapshot publication.
Monotonically increasing. Never wraps in practice (u64 overflow at 60 Hz would take ~9.7 billion years).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EpochCounter
impl RefUnwindSafe for EpochCounter
impl Send for EpochCounter
impl Sync for EpochCounter
impl Unpin for EpochCounter
impl UnwindSafe for EpochCounter
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