pub enum FileNotifyAction {
Added,
Removed,
Modified,
RenamedOldName,
RenamedNewName,
}Expand description
The type of change that occurred on a file or directory.
These correspond to the Action field in FILE_NOTIFY_INFORMATION
(MS-FSCC section 2.4.42).
Variants§
Added
A file was added to the directory.
Removed
A file was removed from the directory.
Modified
A file was modified.
RenamedOldName
A file was renamed (this is the old name).
RenamedNewName
A file was renamed (this is the new name).
Trait Implementations§
Source§impl Clone for FileNotifyAction
impl Clone for FileNotifyAction
Source§fn clone(&self) -> FileNotifyAction
fn clone(&self) -> FileNotifyAction
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 Debug for FileNotifyAction
impl Debug for FileNotifyAction
Source§impl Display for FileNotifyAction
impl Display for FileNotifyAction
Source§impl PartialEq for FileNotifyAction
impl PartialEq for FileNotifyAction
impl Copy for FileNotifyAction
impl Eq for FileNotifyAction
impl StructuralPartialEq for FileNotifyAction
Auto Trait Implementations§
impl Freeze for FileNotifyAction
impl RefUnwindSafe for FileNotifyAction
impl Send for FileNotifyAction
impl Sync for FileNotifyAction
impl Unpin for FileNotifyAction
impl UnsafeUnpin for FileNotifyAction
impl UnwindSafe for FileNotifyAction
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