Enum notify::event::ModifyKind [−][src]
pub enum ModifyKind { Any, Data(DataChange), Metadata(MetadataKind), Name(RenameMode), Other, }
Expand description
An event describing mutation of content, name, or metadata.
Variants
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.
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ModifyKind
impl Send for ModifyKind
impl Sync for ModifyKind
impl Unpin for ModifyKind
impl UnwindSafe for ModifyKind
Blanket Implementations
Mutably borrows from an owned value. Read more