pub enum Op {
Scan,
CopyFile,
CreateDir,
Symlink,
Rename,
RemoveSource,
RemoveEntry,
Finalize,
}Expand description
The operation step a PathError happened in.
Variants§
Scan
Reading directory entries or entry metadata, and the overlap check.
CopyFile
Copying one regular file.
CreateDir
Creating a directory or applying its permissions.
Symlink
Reproducing a symlink.
Rename
The rename fast path of a move.
RemoveSource
Removing the source tree after a move’s destination is complete.
RemoveEntry
Removing an entry (during remove_tree or conflict replacement).
Finalize
Renaming staging into place at the end of a staged move.
Trait Implementations§
impl Copy for Op
impl Eq for Op
impl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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