Struct INotifyWatcher
pub struct INotifyWatcher { /* private fields */ }
Watcher implementation based on inotify
Trait Implementations
impl Debug for INotifyWatcher
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Drop for INotifyWatcher
fn drop(&mut self)
impl Watcher for INotifyWatcher
fn new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>Create a new watcher.
fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>fn watch_with(&mut self, path: &Path, config: WatchPathConfig) -> Result<()>fn unwatch(&mut self, path: &Path) -> Result<()>fn update_paths(&mut self, ops: Vec<PathOp>) -> Result<(), UpdatePathsError>fn configure(&mut self, config: Config) -> Result<bool>fn watched_paths(&self) -> Result<Vec<WatchedPath>>fn kind() -> WatcherKind