pub struct AtomicTick(/* private fields */);Expand description
The change-tick counter shared across a storage’s columns, atomic so writers
of disjoint columns can stamp edits concurrently without sharing &mut.
Relaxed ordering: the counter only supplies monotonic values; the column
data it stamps is synchronized by the scheduler (join/channel edges), never
by the counter itself. Values stay globally monotonic but their exact
assignment is interleaving-dependent under concurrency, so tick values must
never be hashed, persisted, or compared across columns.
Implementations§
Trait Implementations§
Source§impl Debug for AtomicTick
impl Debug for AtomicTick
Source§impl Default for AtomicTick
impl Default for AtomicTick
Source§fn default() -> AtomicTick
fn default() -> AtomicTick
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for AtomicTick
impl RefUnwindSafe for AtomicTick
impl Send for AtomicTick
impl Sync for AtomicTick
impl Unpin for AtomicTick
impl UnsafeUnpin for AtomicTick
impl UnwindSafe for AtomicTick
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