pub enum ClockOrder {
Before,
After,
Concurrent,
Equal,
}Expand description
The causal ordering relationship between two vector clocks.
Variants§
Before
self happened before other (self ≤ other, strict on at least one component).
After
self happened after other.
Concurrent
Neither dominates; events are concurrent.
Equal
The clocks are identical.
Trait Implementations§
Source§impl Clone for ClockOrder
impl Clone for ClockOrder
Source§fn clone(&self) -> ClockOrder
fn clone(&self) -> ClockOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClockOrder
impl Debug for ClockOrder
Source§impl PartialEq for ClockOrder
impl PartialEq for ClockOrder
impl Copy for ClockOrder
impl Eq for ClockOrder
impl StructuralPartialEq for ClockOrder
Auto Trait Implementations§
impl Freeze for ClockOrder
impl RefUnwindSafe for ClockOrder
impl Send for ClockOrder
impl Sync for ClockOrder
impl Unpin for ClockOrder
impl UnsafeUnpin for ClockOrder
impl UnwindSafe for ClockOrder
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