Skip to main content

MergeStrategy

Trait MergeStrategy 

Source
pub trait MergeStrategy: Send + Sync {
    // Required methods
    fn merge(&self, local: &[Note], remote: &[Note]) -> Vec<Note>;
    fn name(&self) -> &'static str;
}

Required Methods§

Source

fn merge(&self, local: &[Note], remote: &[Note]) -> Vec<Note>

Source

fn name(&self) -> &'static str

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§