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

Auto Trait Implementations

impl Freeze for INotifyWatcher

impl RefUnwindSafe for INotifyWatcher

impl Send for INotifyWatcher

impl Sync for INotifyWatcher

impl Unpin for INotifyWatcher

impl UnsafeUnpin for INotifyWatcher

impl UnwindSafe for INotifyWatcher

Blanket Implementations

impl<T> Any for INotifyWatcher where T: 'static + ?Sized,

impl<T> Borrow<T> for INotifyWatcher where T: ?Sized,

impl<T> BorrowMut<T> for INotifyWatcher where T: ?Sized,

impl<T> From<T> for INotifyWatcher

impl<T, U> Into<U> for INotifyWatcher where U: From<T>,

impl<T, U> TryFrom<U> for INotifyWatcher where U: Into<T>,

impl<T, U> TryInto<U> for INotifyWatcher where U: TryFrom<T>,