pub enum OrderingContract {
Fifo,
FifoPerProducer,
KOutOfOrder(u32),
Unordered,
}Expand description
The ordering envelope a ring’s consumers may observe.
Variants§
Fifo
Global total order across all producers (the strongest).
FifoPerProducer
Per-producer FIFO; items from different producers may interleave arbitrarily, but each producer’s items arrive in push order.
KOutOfOrder(u32)
Bounded reordering: an item is delivered at most k positions
from its global arrival order.
Unordered
No ordering guarantee.
Trait Implementations§
Source§impl Clone for OrderingContract
impl Clone for OrderingContract
Source§fn clone(&self) -> OrderingContract
fn clone(&self) -> OrderingContract
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 OrderingContract
Source§impl Debug for OrderingContract
impl Debug for OrderingContract
impl Eq for OrderingContract
Source§impl PartialEq for OrderingContract
impl PartialEq for OrderingContract
impl StructuralPartialEq for OrderingContract
Auto Trait Implementations§
impl Freeze for OrderingContract
impl RefUnwindSafe for OrderingContract
impl Send for OrderingContract
impl Sync for OrderingContract
impl Unpin for OrderingContract
impl UnsafeUnpin for OrderingContract
impl UnwindSafe for OrderingContract
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