Enum notify::event::ModifyKind
source · pub enum ModifyKind {
Any,
Data(DataChange),
Metadata(MetadataKind),
Name(RenameMode),
Other,
}
Expand description
An event describing mutation of content, name, or metadata.
Variants§
Any
The catch-all case, to be used when the specific kind of event is unknown.
Data(DataChange)
An event emitted when the data content of a file is changed.
Metadata(MetadataKind)
An event emitted when the metadata of a file or folder is changed.
Name(RenameMode)
An event emitted when the name of a file or folder is changed.
Other
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations§
source§impl Clone for ModifyKind
impl Clone for ModifyKind
source§fn clone(&self) -> ModifyKind
fn clone(&self) -> ModifyKind
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 Debug for ModifyKind
impl Debug for ModifyKind
source§impl Hash for ModifyKind
impl Hash for ModifyKind
source§impl PartialEq for ModifyKind
impl PartialEq for ModifyKind
impl Copy for ModifyKind
impl Eq for ModifyKind
impl StructuralPartialEq for ModifyKind
Auto Trait Implementations§
impl Freeze for ModifyKind
impl RefUnwindSafe for ModifyKind
impl Send for ModifyKind
impl Sync for ModifyKind
impl Unpin for ModifyKind
impl UnwindSafe for ModifyKind
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)