pub struct NullWatcher;Expand description
Stub Watcher implementation
Events are never delivered from this watcher.
Trait Implementations§
Source§impl Watcher for NullWatcher
impl Watcher for NullWatcher
Source§fn new_raw(tx: Sender<RawEvent>) -> Result<NullWatcher>
fn new_raw(tx: Sender<RawEvent>) -> Result<NullWatcher>
Create a new watcher in raw mode. Read more
Source§fn new(tx: Sender<DebouncedEvent>, delay: Duration) -> Result<NullWatcher>
fn new(tx: Sender<DebouncedEvent>, delay: Duration) -> Result<NullWatcher>
Create a new debounced watcher with a
delay. Read moreAuto 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