Enum uu_mv::OverwriteMode
source · pub enum OverwriteMode {
NoClobber,
Interactive,
Force,
}
Expand description
specifies behavior of the overwrite flag
Variants§
NoClobber
‘-n’ ‘–no-clobber’ do not overwrite
Interactive
‘-i’ ‘–interactive’ prompt before overwrite
Force
‘-f’ ‘–force’ overwrite without prompt
Trait Implementations§
source§impl Clone for OverwriteMode
impl Clone for OverwriteMode
source§fn clone(&self) -> OverwriteMode
fn clone(&self) -> OverwriteMode
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 OverwriteMode
impl Debug for OverwriteMode
source§impl PartialEq for OverwriteMode
impl PartialEq for OverwriteMode
source§fn eq(&self, other: &OverwriteMode) -> bool
fn eq(&self, other: &OverwriteMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OverwriteMode
impl StructuralPartialEq for OverwriteMode
Auto Trait Implementations§
impl Freeze for OverwriteMode
impl RefUnwindSafe for OverwriteMode
impl Send for OverwriteMode
impl Sync for OverwriteMode
impl Unpin for OverwriteMode
impl UnwindSafe for OverwriteMode
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