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<ModifyKind> for ModifyKind
impl PartialEq<ModifyKind> for ModifyKind
source§fn eq(&self, other: &ModifyKind) -> bool
fn eq(&self, other: &ModifyKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.