Struct INotifyWatcher
pub struct INotifyWatcher { /* private fields */ }
Watcher implementation based on inotify
Trait Implementations
impl Debug for INotifyWatcher
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Drop for INotifyWatcher
fn drop(&mut self)
impl Watcher for INotifyWatcher
fn new<F: EventHandler>(event_handler: F, config: Config) -> Result<Self>Create a new watcher.
fn watch(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()>fn unwatch(&mut self, path: &Path) -> Result<()>fn configure(&mut self, config: Config) -> Result<bool>fn kind() -> WatcherKind
Auto Trait Implementations
impl Freeze for INotifyWatcher
impl RefUnwindSafe for INotifyWatcher
impl Send for INotifyWatcher
impl Sync for INotifyWatcher
impl Unpin for INotifyWatcher
impl UnsafeUnpin for INotifyWatcher
impl UnwindSafe for INotifyWatcher
Blanket Implementations
impl<T> Any for INotifyWatcher
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for INotifyWatcher
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for INotifyWatcher
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for INotifyWatcher
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for INotifyWatcher
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for INotifyWatcher
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for INotifyWatcher
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>