Struct NullWatcher
struct NullWatcher
Stub Watcher implementation
Events are never delivered from this watcher.
Implementations
impl Debug for NullWatcher
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for NullWatcher
impl RefUnwindSafe for NullWatcher
impl Send for NullWatcher
impl Sync for NullWatcher
impl Unpin for NullWatcher
impl UnwindSafe for NullWatcher
impl Watcher for NullWatcher
fn watch(self: &mut Self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>fn unwatch(self: &mut Self, path: &Path) -> Result<()>fn new<F: crate::EventHandler>(event_handler: F, config: Config) -> Result<Self> where Self: Sizedfn configure(self: &mut Self, config: Config) -> Result<bool>fn kind() -> crate::WatcherKind
impl<T> Any for NullWatcher
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for NullWatcher
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for NullWatcher
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for NullWatcher
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for NullWatcher
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for NullWatcher
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for NullWatcher
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>