Trait crdts::ResetRemove

source ·
pub trait ResetRemove<A: Ord> {
    // Required method
    fn reset_remove(&mut self, clock: &VClock<A>);
}
Expand description

CRDT’s are causal if they are built on top of vector clocks.

Required Methods§

source

fn reset_remove(&mut self, clock: &VClock<A>)

Remove data that is strictly smaller than this clock

Implementors§

source§

impl<A: Ord> ResetRemove<A> for GCounter<A>

source§

impl<A: Ord> ResetRemove<A> for PNCounter<A>

source§

impl<A: Ord> ResetRemove<A> for VClock<A>

source§

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

source§

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

source§

impl<V, A: Ord> ResetRemove<A> for MVReg<V, A>