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
Auto Trait Implementations§
impl Freeze for NullWatcher
impl RefUnwindSafe for NullWatcher
impl Send for NullWatcher
impl Sync for NullWatcher
impl Unpin for NullWatcher
impl UnwindSafe for NullWatcher
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