Enum fibers_inotify::WatcherEvent
[−]
[src]
pub enum WatcherEvent { StartWatching, RestartWatching, Notified(InotifyEvent), }
Event produced by Watcher
.
Variants
StartWatching
The watcher starts watching.
It means that the specified path and mask are added to an inotify instance successfully.
RestartWatching
The watcher restarts watching.
If the inode being watched by this watcher conflicts with a newer watcher's one in an inotify instance, it will be kicked out and re-added to another inotify instance. If it happens, this event will be produced. Note that in such case some inotify events may be lost and the watcher may start watching an inode different from before (althought the path is the same).
Notified(InotifyEvent)
Inotify event.
Trait Implementations
impl Debug for WatcherEvent
[src]
impl Clone for WatcherEvent
[src]
fn clone(&self) -> WatcherEvent
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more