pub enum VectorClockOrdering {
Before,
After,
Equal,
Concurrent,
}Expand description
Result of comparing two vector clocks.
Variants§
Before
First clock happened before second.
After
First clock happened after second.
Equal
Clocks are equal.
Concurrent
Clocks are concurrent (incomparable).
Trait Implementations§
Source§impl Clone for VectorClockOrdering
impl Clone for VectorClockOrdering
Source§fn clone(&self) -> VectorClockOrdering
fn clone(&self) -> VectorClockOrdering
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 VectorClockOrdering
impl Debug for VectorClockOrdering
Source§impl PartialEq for VectorClockOrdering
impl PartialEq for VectorClockOrdering
impl Copy for VectorClockOrdering
impl Eq for VectorClockOrdering
impl StructuralPartialEq for VectorClockOrdering
Auto Trait Implementations§
impl Freeze for VectorClockOrdering
impl RefUnwindSafe for VectorClockOrdering
impl Send for VectorClockOrdering
impl Sync for VectorClockOrdering
impl Unpin for VectorClockOrdering
impl UnsafeUnpin for VectorClockOrdering
impl UnwindSafe for VectorClockOrdering
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.