pub enum CollidingSubDirectoryBehaviour {
Abort,
Continue,
}Expand description
Rules that dictate how existing sub-directories inside the directory copy or move destination are handled when they collide with the ones we’re trying to copy or move from the source.
See also: DestinationDirectoryRule.
Variants§
Abort
An existing (colliding) destination sub-directory will cause an error.
Continue
An existing (colliding) destination sub-directory will have no effect.
Trait Implementations§
Source§impl Clone for CollidingSubDirectoryBehaviour
impl Clone for CollidingSubDirectoryBehaviour
Source§fn clone(&self) -> CollidingSubDirectoryBehaviour
fn clone(&self) -> CollidingSubDirectoryBehaviour
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 moreSource§impl PartialEq for CollidingSubDirectoryBehaviour
impl PartialEq for CollidingSubDirectoryBehaviour
Source§fn eq(&self, other: &CollidingSubDirectoryBehaviour) -> bool
fn eq(&self, other: &CollidingSubDirectoryBehaviour) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CollidingSubDirectoryBehaviour
impl Eq for CollidingSubDirectoryBehaviour
impl StructuralPartialEq for CollidingSubDirectoryBehaviour
Auto Trait Implementations§
impl Freeze for CollidingSubDirectoryBehaviour
impl RefUnwindSafe for CollidingSubDirectoryBehaviour
impl Send for CollidingSubDirectoryBehaviour
impl Sync for CollidingSubDirectoryBehaviour
impl Unpin for CollidingSubDirectoryBehaviour
impl UnwindSafe for CollidingSubDirectoryBehaviour
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