pub enum McpMergeOutcome {
Inserted,
Unchanged,
Conflict {
force_applied: bool,
},
}Expand description
Outcome of merge_mcp_entry.
Variants§
Inserted
Entry did not exist — was added.
Unchanged
Entry exists with identical command/args — no change required.
Conflict
Entry exists but differs from desired. With force=true it is
overwritten; otherwise the document is left unchanged.
Trait Implementations§
Source§impl Clone for McpMergeOutcome
impl Clone for McpMergeOutcome
Source§fn clone(&self) -> McpMergeOutcome
fn clone(&self) -> McpMergeOutcome
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 McpMergeOutcome
impl Debug for McpMergeOutcome
Source§impl PartialEq for McpMergeOutcome
impl PartialEq for McpMergeOutcome
Source§fn eq(&self, other: &McpMergeOutcome) -> bool
fn eq(&self, other: &McpMergeOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for McpMergeOutcome
impl StructuralPartialEq for McpMergeOutcome
Auto Trait Implementations§
impl Freeze for McpMergeOutcome
impl RefUnwindSafe for McpMergeOutcome
impl Send for McpMergeOutcome
impl Sync for McpMergeOutcome
impl Unpin for McpMergeOutcome
impl UnsafeUnpin for McpMergeOutcome
impl UnwindSafe for McpMergeOutcome
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.