[][src]Trait cvrdt_exposition::traits::Shrink

pub trait Shrink: Grow {
    fn del(&mut self, update: Self::Update);
}

CvRDTs that can also shrink, i.e. delete items

Required methods

fn del(&mut self, update: Self::Update)

Delete an item from the data structure, mutating this CvRDT in place

Parameters

  • a mutably borrowed reference to self
  • an Update message

Returns

Nothing; this data structure is updated in-place

Loading content...

Implementors

impl Shrink for PNCounter[src]

impl<X: Clone + Eq + Hash> Shrink for TwoPhaseSet<X>[src]

Loading content...