Enum fibers_inotify::WatcherEvent [] [src]

pub enum WatcherEvent {
    StartWatching,
    RestartWatching,
    Notified(InotifyEvent),
}

Event produced by Watcher.

Variants

The watcher starts watching.

It means that the specified path and mask are added to an inotify instance successfully.

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).

Inotify event.

Trait Implementations

impl Debug for WatcherEvent
[src]

[src]

Formats the value using the given formatter.

impl Clone for WatcherEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more