pub enum MergePolicy {
Lww,
VectorClock,
Custom(String),
}Expand description
Executable conflict policy declared by a component’s storage schema.
Variants§
Lww
The Work branch’s conflicting value wins.
VectorClock
Haematite’s vector-clock policy vocabulary.
Haematite 0.5.0 exposes this policy but reports it unimplemented, so schema declaration currently refuses this variant.
Custom(String)
A resolver previously registered under this stable name.
Trait Implementations§
Source§impl Clone for MergePolicy
impl Clone for MergePolicy
Source§fn clone(&self) -> MergePolicy
fn clone(&self) -> MergePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MergePolicy
impl Debug for MergePolicy
Source§impl Display for MergePolicy
impl Display for MergePolicy
impl Eq for MergePolicy
Source§impl PartialEq for MergePolicy
impl PartialEq for MergePolicy
impl StructuralPartialEq for MergePolicy
Auto Trait Implementations§
impl Freeze for MergePolicy
impl RefUnwindSafe for MergePolicy
impl Send for MergePolicy
impl Sync for MergePolicy
impl Unpin for MergePolicy
impl UnsafeUnpin for MergePolicy
impl UnwindSafe for MergePolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.