Struct notify::inotify::INotifyWatcher
source · pub struct INotifyWatcher { /* private fields */ }
Expand description
Watcher implementation based on inotify
Trait Implementations§
source§impl Debug for INotifyWatcher
impl Debug for INotifyWatcher
source§impl Drop for INotifyWatcher
impl Drop for INotifyWatcher
source§impl Watcher for INotifyWatcher
impl Watcher for INotifyWatcher
source§fn new<F: EventHandler>(event_handler: F, _config: Config) -> Result<Self>
fn new<F: EventHandler>(event_handler: F, _config: Config) -> Result<Self>
Create a new watcher.
source§fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
Begin watching a new path. Read more
source§fn configure(&mut self, config: Config) -> Result<bool>
fn configure(&mut self, config: Config) -> Result<bool>
Configure the watcher at runtime. Read more
source§fn kind() -> WatcherKind
fn kind() -> WatcherKind
Returns the watcher kind, allowing to perform backend-specific tasks
Auto Trait Implementations§
impl Freeze for INotifyWatcher
impl RefUnwindSafe for INotifyWatcher
impl Send for INotifyWatcher
impl Sync for INotifyWatcher
impl Unpin for INotifyWatcher
impl UnwindSafe for INotifyWatcher
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