Struct INotifyWatcher

struct INotifyWatcher { ... }

Watcher implementation based on inotify

Implementations

impl Debug for INotifyWatcher

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

impl Drop for INotifyWatcher

fn drop(self: &mut Self)

impl Freeze for INotifyWatcher

impl RefUnwindSafe for INotifyWatcher

impl Send for INotifyWatcher

impl Sync for INotifyWatcher

impl Unpin for INotifyWatcher

impl UnwindSafe for INotifyWatcher

impl Watcher for INotifyWatcher

fn new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>

Create a new watcher.

fn watch(self: &mut Self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>
fn unwatch(self: &mut Self, path: &Path) -> Result<()>
fn configure(self: &mut Self, config: Config) -> Result<bool>
fn kind() -> crate::WatcherKind

impl<T> Any for INotifyWatcher

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for INotifyWatcher

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for INotifyWatcher

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for INotifyWatcher

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for INotifyWatcher

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for INotifyWatcher

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for INotifyWatcher

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>