pub struct NoOpMergeEngine;Expand description
Default no-op engine shipped with khive-vcs.
Returns VcsError::MergeNotImplemented for all calls.
Replace with ThreeWayMergeEngine from khive-merge in production.
Trait Implementations§
Source§impl MergeEngine for NoOpMergeEngine
impl MergeEngine for NoOpMergeEngine
fn merge( &self, _base: &KgArchive, _ours: &KgArchive, _theirs: &KgArchive, _strategy: MergeStrategy, ) -> Result<MergeResult, VcsError>
Auto Trait Implementations§
impl Freeze for NoOpMergeEngine
impl RefUnwindSafe for NoOpMergeEngine
impl Send for NoOpMergeEngine
impl Sync for NoOpMergeEngine
impl Unpin for NoOpMergeEngine
impl UnsafeUnpin for NoOpMergeEngine
impl UnwindSafe for NoOpMergeEngine
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