Struct notify::null::NullWatcher
source · [−]pub struct NullWatcher;
Expand description
Stub Watcher
implementation
Events are never delivered from this watcher.
Trait Implementations
sourceimpl Debug for NullWatcher
impl Debug for NullWatcher
sourceimpl Watcher for NullWatcher
impl Watcher for NullWatcher
sourcefn 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
sourcefn 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.
sourcefn configure(&mut self, config: Config) -> Result<bool>
fn configure(&mut self, config: Config) -> Result<bool>
Configure the watcher at runtime. Read more
sourcefn kind() -> WatcherKind
fn kind() -> WatcherKind
Returns the watcher kind, allowing to perform backend-specific tasks
Auto Trait Implementations
impl RefUnwindSafe for NullWatcher
impl Send for NullWatcher
impl Sync for NullWatcher
impl Unpin for NullWatcher
impl UnwindSafe for NullWatcher
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more