Trait crdts::ResetRemove [−][src]
pub trait ResetRemove<A: Ord> { fn reset_remove(&mut self, clock: &VClock<A>); }
CRDT’s are causal if they are built on top of vector clocks.
Required methods
fn reset_remove(&mut self, clock: &VClock<A>)
[src]
Remove data that is strictly smaller than this clock
Implementors
impl<A: Ord> ResetRemove<A> for GCounter<A>
[src]
fn reset_remove(&mut self, clock: &VClock<A>)
[src]
impl<A: Ord> ResetRemove<A> for PNCounter<A>
[src]
fn reset_remove(&mut self, clock: &VClock<A>)
[src]
impl<A: Ord> ResetRemove<A> for VClock<A>
[src]
fn reset_remove(&mut self, other: &Self)
[src]
Forget any actors that have smaller counts than the count in the given vclock