#[repr(u32)]pub enum OrderingMode {
Unordered = 0,
MergeByStamp = 1,
MergeStrict = 2,
}Expand description
How a stamped ring’s consumer side interprets stamps.
Variants§
Unordered = 0
Existing partition pop. Stamps are read after the pop to drive the inversion counter; ordering guarantee stays per-producer FIFO.
MergeByStamp = 1
K-way min-stamp merge over the ring heads. Global FIFO within the stamp source’s skew window (freshness-guarded for time-based stamps). Single active drainer.
MergeStrict = 2
As MergeByStamp, plus the per-producer watermark gate:
a candidate releases only once no empty in-use ring can
still produce a smaller stamp. Exact global FIFO for every
stamp kind, at the cost of slowest-producer latency coupling.
Trait Implementations§
Source§impl Clone for OrderingMode
impl Clone for OrderingMode
Source§fn clone(&self) -> OrderingMode
fn clone(&self) -> OrderingMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OrderingMode
Source§impl Debug for OrderingMode
impl Debug for OrderingMode
impl Eq for OrderingMode
Source§impl PartialEq for OrderingMode
impl PartialEq for OrderingMode
Source§fn eq(&self, other: &OrderingMode) -> bool
fn eq(&self, other: &OrderingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrderingMode
Auto Trait Implementations§
impl Freeze for OrderingMode
impl RefUnwindSafe for OrderingMode
impl Send for OrderingMode
impl Sync for OrderingMode
impl Unpin for OrderingMode
impl UnsafeUnpin for OrderingMode
impl UnwindSafe for OrderingMode
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