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
sourceimpl Clone for ModifyKind
impl Clone for ModifyKind
sourcefn clone(&self) -> ModifyKind
fn clone(&self) -> ModifyKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModifyKind
impl Debug for ModifyKind
sourceimpl Hash for ModifyKind
impl Hash for ModifyKind
sourceimpl PartialEq<ModifyKind> for ModifyKind
impl PartialEq<ModifyKind> for ModifyKind
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ModifyKind) -> bool
fn ne(&self, other: &ModifyKind) -> bool
This method tests for !=
.
impl Eq for ModifyKind
impl StructuralEq for ModifyKind
impl StructuralPartialEq for ModifyKind
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more