pub enum ConflictResolution {
Skip,
AutoRename,
Prompt,
}
Expand description
Strategy for handling filename conflicts during relocation
Variants§
Skip
Skip relocation if conflict exists
AutoRename
Automatically rename with numeric suffix
Prompt
Prompt user for decision (interactive mode only)
Trait Implementations§
Source§impl Clone for ConflictResolution
impl Clone for ConflictResolution
Source§fn clone(&self) -> ConflictResolution
fn clone(&self) -> ConflictResolution
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ConflictResolution
impl RefUnwindSafe for ConflictResolution
impl Send for ConflictResolution
impl Sync for ConflictResolution
impl Unpin for ConflictResolution
impl UnwindSafe for ConflictResolution
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