pub struct Epoch(/* private fields */);Expand description
The placement-table generation a routing decision was resolved against.
Monotonically increasing. Stamped on every routed write so the sink can
reject a stale-epoch write for a migrating partition (docs/06 §2).
Implementations§
Trait Implementations§
impl Copy for Epoch
impl Eq for Epoch
Source§impl Ord for Epoch
impl Ord for Epoch
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Epoch
impl PartialOrd for Epoch
impl StructuralPartialEq for Epoch
Auto Trait Implementations§
impl Freeze for Epoch
impl RefUnwindSafe for Epoch
impl Send for Epoch
impl Sync for Epoch
impl Unpin for Epoch
impl UnsafeUnpin for Epoch
impl UnwindSafe for Epoch
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