Struct vectorclock::VectorClock
[−]
[src]
pub struct VectorClock<HostType: Hash + Eq> { /* fields omitted */ }
Methods
impl<HostType: Clone + Hash + Eq> VectorClock<HostType>
[src]
fn new() -> VectorClock<HostType>
fn incremented(&self, host: HostType) -> Self
fn temporal_relation(&self, other: &Self) -> TemporalRelation
fn merge_with(&self, other: &Self) -> Self
Trait Implementations
impl<HostType: PartialEq + Hash + Eq> PartialEq for VectorClock<HostType>
[src]
fn eq(&self, __arg_0: &VectorClock<HostType>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VectorClock<HostType>) -> bool
This method tests for !=
.