pub enum WatchEventKind {
Create,
Modify,
Remove,
Other,
}Expand description
Kind of filesystem change observed by a watcher.
Variants§
Create
A path was created.
Modify
A path was modified.
Remove
A path was removed.
Other
Any other/normalized event kind.
Trait Implementations§
Source§impl Clone for WatchEventKind
impl Clone for WatchEventKind
Source§fn clone(&self) -> WatchEventKind
fn clone(&self) -> WatchEventKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WatchEventKind
Source§impl Debug for WatchEventKind
impl Debug for WatchEventKind
Source§impl<'de> Deserialize<'de> for WatchEventKind
impl<'de> Deserialize<'de> for WatchEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WatchEventKind
Source§impl PartialEq for WatchEventKind
impl PartialEq for WatchEventKind
Source§impl Serialize for WatchEventKind
impl Serialize for WatchEventKind
impl StructuralPartialEq for WatchEventKind
Auto Trait Implementations§
impl Freeze for WatchEventKind
impl RefUnwindSafe for WatchEventKind
impl Send for WatchEventKind
impl Sync for WatchEventKind
impl Unpin for WatchEventKind
impl UnsafeUnpin for WatchEventKind
impl UnwindSafe for WatchEventKind
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