pub enum CheckoutRewindPlan {
ClearAndRemoveDir,
ClearContentsOnly,
TouchNothing,
}Expand description
Pure checkout-dir rewind action for a settled (or absent) target claim.
Variants§
ClearAndRemoveDir
Clear contents, then remove the directory if it still occupies the path.
ClearContentsOnly
Clear only the contents this start wrote; leave the directory itself.
TouchNothing
Claim never established — touch nothing.
Trait Implementations§
Source§impl Clone for CheckoutRewindPlan
impl Clone for CheckoutRewindPlan
Source§fn clone(&self) -> CheckoutRewindPlan
fn clone(&self) -> CheckoutRewindPlan
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 moreimpl Copy for CheckoutRewindPlan
Source§impl Debug for CheckoutRewindPlan
impl Debug for CheckoutRewindPlan
impl Eq for CheckoutRewindPlan
Source§impl PartialEq for CheckoutRewindPlan
impl PartialEq for CheckoutRewindPlan
impl StructuralPartialEq for CheckoutRewindPlan
Auto Trait Implementations§
impl Freeze for CheckoutRewindPlan
impl RefUnwindSafe for CheckoutRewindPlan
impl Send for CheckoutRewindPlan
impl Sync for CheckoutRewindPlan
impl Unpin for CheckoutRewindPlan
impl UnsafeUnpin for CheckoutRewindPlan
impl UnwindSafe for CheckoutRewindPlan
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