pub enum NotesMergeOutcome {
AlreadyUpToDate {
result: ObjectId,
},
FastForward {
result: ObjectId,
},
Merged {
result: ObjectId,
},
Conflicted {
partial: ObjectId,
conflicts: Vec<NotesMergeConflict>,
},
}Expand description
Result of merging one notes ref into another.
Variants§
AlreadyUpToDate
The local ref was already up to date.
FastForward
The merge fast-forwarded to the remote notes commit.
Merged
A merge commit was created and the local ref advanced to it.
Conflicted
A partial merge commit was created; conflicts must be resolved by the caller.
Trait Implementations§
Source§impl Clone for NotesMergeOutcome
impl Clone for NotesMergeOutcome
Source§fn clone(&self) -> NotesMergeOutcome
fn clone(&self) -> NotesMergeOutcome
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 NotesMergeOutcome
impl Debug for NotesMergeOutcome
impl Eq for NotesMergeOutcome
Source§impl PartialEq for NotesMergeOutcome
impl PartialEq for NotesMergeOutcome
Source§fn eq(&self, other: &NotesMergeOutcome) -> bool
fn eq(&self, other: &NotesMergeOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotesMergeOutcome
Auto Trait Implementations§
impl Freeze for NotesMergeOutcome
impl RefUnwindSafe for NotesMergeOutcome
impl Send for NotesMergeOutcome
impl Sync for NotesMergeOutcome
impl Unpin for NotesMergeOutcome
impl UnsafeUnpin for NotesMergeOutcome
impl UnwindSafe for NotesMergeOutcome
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