Module crdts::vclock
[−]
[src]
vclock
contains the vector clock.
The vclock
crate provides a generic vector clock implementation.
Examples
use crdts::VClock; let (mut a, mut b) = (VClock::new(), VClock::new()); a.witness("A", 2); b.witness("A", 1); assert!(a > b);
Structs
VClock |
A |
Type Definitions
Counter |
A counter is used to track causality at a particular actor. |