#[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
Source§fn clone(&self) -> WorkingCopyPolicy
fn clone(&self) -> WorkingCopyPolicy
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 WorkingCopyPolicy
Source§impl Debug for WorkingCopyPolicy
impl Debug for WorkingCopyPolicy
impl Eq for WorkingCopyPolicy
Source§impl PartialEq for WorkingCopyPolicy
impl PartialEq for WorkingCopyPolicy
Source§fn eq(&self, other: &WorkingCopyPolicy) -> bool
fn eq(&self, other: &WorkingCopyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkingCopyPolicy
Auto Trait Implementations§
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