Struct notify::null::NullWatcher
source · pub struct NullWatcher;
Expand description
Stub Watcher
implementation
Events are never delivered from this watcher.
Trait Implementations§
source§impl Debug for NullWatcher
impl Debug for NullWatcher
source§impl Watcher for NullWatcher
impl Watcher for NullWatcher
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 new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>where
Self: Sized,
fn new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>where
Self: Sized,
Create a new watcher with an initial Config.
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