pub enum SwapStep {
Done,
Swap,
ThirdParty,
}Expand description
The hash-compared override replacement (§9 step 4).
Variants§
Done
The live file already holds the target.
Swap
The live file holds the expected source: replace it.
ThirdParty
Someone else changed it: never overwrite.
Trait Implementations§
impl Copy for SwapStep
impl Eq for SwapStep
impl StructuralPartialEq for SwapStep
Auto Trait Implementations§
impl Freeze for SwapStep
impl RefUnwindSafe for SwapStep
impl Send for SwapStep
impl Sync for SwapStep
impl Unpin for SwapStep
impl UnsafeUnpin for SwapStep
impl UnwindSafe for SwapStep
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