Enum uu_rm::InteractiveMode
source · pub enum InteractiveMode {
Never,
Once,
Always,
PromptProtected,
}
Expand description
Enum, determining when the rm
will prompt the user about the file deletion
Variants§
Never
Never prompt
Once
Prompt once before removing more than three files, or when removing recursively.
Always
Prompt before every removal
PromptProtected
Prompt only on write-protected files
Trait Implementations§
source§impl Clone for InteractiveMode
impl Clone for InteractiveMode
source§fn clone(&self) -> InteractiveMode
fn clone(&self) -> InteractiveMode
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 PartialEq for InteractiveMode
impl PartialEq for InteractiveMode
source§fn eq(&self, other: &InteractiveMode) -> bool
fn eq(&self, other: &InteractiveMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InteractiveMode
impl Eq for InteractiveMode
impl StructuralPartialEq for InteractiveMode
Auto Trait Implementations§
impl Freeze for InteractiveMode
impl RefUnwindSafe for InteractiveMode
impl Send for InteractiveMode
impl Sync for InteractiveMode
impl Unpin for InteractiveMode
impl UnwindSafe for InteractiveMode
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