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
)