Trait crdts::vvwe::CausalOp [−][src]
pub trait CausalOp<A> { fn happens_after(&self) -> Option<Dot<A>>; fn dot(&self) -> Dot<A>; }
Required methods
fn happens_after(&self) -> Option<Dot<A>>
[src]
TODO: result should be a VClock since an op could be dependant on a few different msgs If the result is Some(dot) then this operation cannot occur until the operation that occured at dot has.
fn dot(&self) -> Dot<A>
[src]
The time that the current operation occured at