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

Loading content...

Implementors

impl<A: Ord> ResetRemove<A> for GCounter<A>[src]

impl<A: Ord> ResetRemove<A> for PNCounter<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

impl<K: Ord, V: Val<A>, A: Ord + Hash> ResetRemove<A> for Map<K, V, A>[src]

impl<M: Hash + Clone + Eq, A: Ord + Hash> ResetRemove<A> for Orswot<M, A>[src]

impl<V, A: Ord> ResetRemove<A> for MVReg<V, A>[src]

Loading content...