Enum uu_cp::BackupMode
source · pub enum BackupMode {
NoBackup,
SimpleBackup,
NumberedBackup,
ExistingBackup,
}
Expand description
Available backup modes.
The mapping of the backup modes to the CLI arguments is annotated on the enum variants.
Variants§
NoBackup
Argument ‘none’, ‘off’
SimpleBackup
Argument ‘simple’, ‘never’
NumberedBackup
Argument ‘numbered’, ‘t’
ExistingBackup
Argument ‘existing’, ‘nil’
Trait Implementations§
source§impl Clone for BackupMode
impl Clone for BackupMode
source§fn clone(&self) -> BackupMode
fn clone(&self) -> BackupMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackupMode
impl Debug for BackupMode
source§impl PartialEq for BackupMode
impl PartialEq for BackupMode
source§fn eq(&self, other: &BackupMode) -> bool
fn eq(&self, other: &BackupMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BackupMode
impl Eq for BackupMode
impl StructuralPartialEq for BackupMode
Auto Trait Implementations§
impl Freeze for BackupMode
impl RefUnwindSafe for BackupMode
impl Send for BackupMode
impl Sync for BackupMode
impl Unpin for BackupMode
impl UnwindSafe for BackupMode
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