#[non_exhaustive]pub enum WorkingCopyPolicy {
SnapshotAndUpdate,
Ignore,
}Expand description
How jj should handle working-copy state before running a command.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for WorkingCopyPolicy
impl Clone for WorkingCopyPolicy
impl Copy for WorkingCopyPolicy
Source§impl Debug for WorkingCopyPolicy
impl Debug for WorkingCopyPolicy
impl Eq for WorkingCopyPolicy
Source§impl PartialEq for WorkingCopyPolicy
impl PartialEq for WorkingCopyPolicy
impl StructuralPartialEq for WorkingCopyPolicy
Auto Trait Implementations§
impl Forget for WorkingCopyPolicy
impl Freeze for WorkingCopyPolicy
impl RefUnwindSafe for WorkingCopyPolicy
impl Send for WorkingCopyPolicy
impl Sync for WorkingCopyPolicy
impl Unpin for WorkingCopyPolicy
impl UnsafeUnpin for WorkingCopyPolicy
impl UnwindSafe for WorkingCopyPolicy
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