Enum uu_cp::OverwriteMode
source · [−]pub enum OverwriteMode {
Clobber(ClobberMode),
Interactive(ClobberMode),
NoClobber,
}Expand description
Specifies whether when overwrite files
Variants
Clobber(ClobberMode)
Default Always overwrite existing files
Interactive(ClobberMode)
Prompt before overwriting a file
NoClobber
Never overwrite a file
Trait Implementations
sourceimpl Clone for OverwriteMode
impl Clone for OverwriteMode
sourcefn clone(&self) -> OverwriteMode
fn clone(&self) -> OverwriteMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<OverwriteMode> for OverwriteMode
impl PartialEq<OverwriteMode> for OverwriteMode
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &OverwriteMode) -> bool
fn ne(&self, other: &OverwriteMode) -> bool
This method tests for !=.
impl Copy for OverwriteMode
impl Eq for OverwriteMode
impl StructuralEq for OverwriteMode
impl StructuralPartialEq for OverwriteMode
Auto Trait Implementations
impl RefUnwindSafe for OverwriteMode
impl Send for OverwriteMode
impl Sync for OverwriteMode
impl Unpin for OverwriteMode
impl UnwindSafe for OverwriteMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more