pub enum MergeClass {
AppendOnly,
Structured,
Opaque,
Derived,
}Expand description
How concurrent edits to a record of a given kind are reconciled.
Variants§
AppendOnly
Edits union/concatenate (auto-memory topics, session transcripts).
Structured
Field-level 3-way merge against the common base.
Opaque
No safe automatic merge; surface to the caller.
Derived
Regenerable / don’t-merge (e.g. per-view code-graph manifests, ADR 0012).
The body can be re-derived from source, and views are single-writer, so a
divergence is rare and reconciled deterministically in favor of side A
(the ours argument to merge, which has no Meta to compare) rather
than a content merge — never a surfaced conflict.
Trait Implementations§
Source§impl Clone for MergeClass
impl Clone for MergeClass
Source§fn clone(&self) -> MergeClass
fn clone(&self) -> MergeClass
Returns a duplicate of the value. Read more
1.0.0 · 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 MergeClass
impl Debug for MergeClass
Source§impl PartialEq for MergeClass
impl PartialEq for MergeClass
impl Copy for MergeClass
impl Eq for MergeClass
impl StructuralPartialEq for MergeClass
Auto Trait Implementations§
impl Freeze for MergeClass
impl RefUnwindSafe for MergeClass
impl Send for MergeClass
impl Sync for MergeClass
impl Unpin for MergeClass
impl UnsafeUnpin for MergeClass
impl UnwindSafe for MergeClass
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