Struct NullWatcher

pub struct NullWatcher;

Stub Watcher implementation

Events are never delivered from this watcher.

Trait Implementations

impl Debug for NullWatcher

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Watcher for NullWatcher

fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
fn unwatch(&mut self, path: &Path) -> Result<()>
fn new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>
where
    Self: Sized,
fn configure(&mut self, config: Config) -> Result<bool>
fn watched_paths(&self) -> Result<Vec<WatchedPath>>
fn kind() -> WatcherKind

Auto Trait Implementations

impl Freeze for NullWatcher

impl RefUnwindSafe for NullWatcher

impl Send for NullWatcher

impl Sync for NullWatcher

impl Unpin for NullWatcher

impl UnsafeUnpin for NullWatcher

impl UnwindSafe for NullWatcher

Blanket Implementations

impl<T> Any for NullWatcher where T: 'static + ?Sized,

impl<T> Borrow<T> for NullWatcher where T: ?Sized,

impl<T> BorrowMut<T> for NullWatcher where T: ?Sized,

impl<T> From<T> for NullWatcher

impl<T, U> Into<U> for NullWatcher where U: From<T>,

impl<T, U> TryFrom<U> for NullWatcher where U: Into<T>,

impl<T, U> TryInto<U> for NullWatcher where U: TryFrom<T>,