pub enum ArchivedCheckpoints {
Keep,
Purge,
}Expand description
Whether an operation that archives an instance also discards the checkpoints it leaves behind. Keeping them is the default: a checkpoint pins the lane revs its undo would need, and newgit never breaks an undo on its own initiative. Purging says the undo will never be wanted.
Variants§
Trait Implementations§
Source§impl Clone for ArchivedCheckpoints
impl Clone for ArchivedCheckpoints
Source§fn clone(&self) -> ArchivedCheckpoints
fn clone(&self) -> ArchivedCheckpoints
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 ArchivedCheckpoints
Source§impl Debug for ArchivedCheckpoints
impl Debug for ArchivedCheckpoints
impl Eq for ArchivedCheckpoints
Source§impl PartialEq for ArchivedCheckpoints
impl PartialEq for ArchivedCheckpoints
impl StructuralPartialEq for ArchivedCheckpoints
Auto Trait Implementations§
impl Freeze for ArchivedCheckpoints
impl RefUnwindSafe for ArchivedCheckpoints
impl Send for ArchivedCheckpoints
impl Sync for ArchivedCheckpoints
impl Unpin for ArchivedCheckpoints
impl UnsafeUnpin for ArchivedCheckpoints
impl UnwindSafe for ArchivedCheckpoints
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