Merge

Trait Merge 

Source
pub trait Merge {
    // Required method
    fn merge(&mut self, other: &Self) -> Result<(), CrdtError>;
}
Expand description

Deterministically combines state from another replica.

Required Methods§

Source

fn merge(&mut self, other: &Self) -> Result<(), CrdtError>

Merges other into this value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Merge for PnCounter

Source§

impl<T: Clone + Eq> Merge for Immutable<T>

Source§

impl<T: Clone + Eq> Merge for Lww<T>

Source§

impl<T: Clone + Eq> Merge for MultiValue<T>

Source§

impl<T: Clone + Eq> Merge for OrderedList<T>

Source§

impl<T: Clone + Ord> Merge for GrowOnlySet<T>

Source§

impl<T: Clone + Ord> Merge for OrSet<T>