Struct vector_clock::VectorClock
source · pub struct VectorClock(_);
Expand description
A vector clock, which provides a partial causal order on events in a distributed sytem.
Implementations§
Trait Implementations§
source§impl Clone for VectorClock
impl Clone for VectorClock
source§fn clone(&self) -> VectorClock
fn clone(&self) -> VectorClock
Returns a copy 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 VectorClock
impl Debug for VectorClock
source§impl Default for VectorClock
impl Default for VectorClock
source§fn default() -> VectorClock
fn default() -> VectorClock
Returns the “default value” for a type. Read more
source§impl Display for VectorClock
impl Display for VectorClock
source§impl Hash for VectorClock
impl Hash for VectorClock
source§impl PartialEq<VectorClock> for VectorClock
impl PartialEq<VectorClock> for VectorClock
source§impl PartialOrd<VectorClock> for VectorClock
impl PartialOrd<VectorClock> for VectorClock
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more