pub enum ClockOrdering {
Equal,
Before,
After,
Concurrent,
}Expand description
Ordering relationship between vector clocks
Variants§
Equal
Clocks are equal
Before
First clock happens before second
After
First clock happens after second
Concurrent
Clocks are concurrent (conflicting)
Trait Implementations§
Source§impl Clone for ClockOrdering
impl Clone for ClockOrdering
Source§fn clone(&self) -> ClockOrdering
fn clone(&self) -> ClockOrdering
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 ClockOrdering
impl Debug for ClockOrdering
Source§impl PartialEq for ClockOrdering
impl PartialEq for ClockOrdering
impl Copy for ClockOrdering
impl Eq for ClockOrdering
impl StructuralPartialEq for ClockOrdering
Auto Trait Implementations§
impl Freeze for ClockOrdering
impl RefUnwindSafe for ClockOrdering
impl Send for ClockOrdering
impl Sync for ClockOrdering
impl Unpin for ClockOrdering
impl UnwindSafe for ClockOrdering
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