[][src]Trait crdts::Causal

pub trait Causal<A: Actor> {
    fn forget(&mut self, clock: &VClock<A>);
}

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

Required methods

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

Forget data that is strictly smaller than this clock

Loading content...

Implementors

impl<A: Actor> Causal<A> for GCounter<A>[src]

impl<A: Actor> Causal<A> for PNCounter<A>[src]

impl<A: Actor> Causal<A> for VClock<A>[src]

fn forget(&mut self, other: &VClock<A>)[src]

Forget any actors that have smaller counts than the count in the given vclock

impl<K: Key, V: Val<A>, A: Actor> Causal<A> for Map<K, V, A>[src]

impl<M: Member, A: Actor> Causal<A> for Orswot<M, A>[src]

impl<V: Val, A: Actor> Causal<A> for MVReg<V, A>[src]

Loading content...