Enum WatcherKind

#[non_exhaustive]
pub enum WatcherKind

Watcher kind enumeration

Variants

Inotify

Inotify backend (Linux, Android, and FreeBSD 14.5+)

Fsevent

FS-Event backend (mac)

Kqueue

KQueue backend (bsd,optionally mac)

PollWatcher

Polling based backend (fallback)

ReadDirectoryChangesWatcher

Windows backend

NullWatcher

Fake watcher for testing

Trait Implementations

impl Clone for WatcherKind

fn clone(&self) -> Self

impl Copy for WatcherKind

impl Debug for WatcherKind

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

impl Eq for WatcherKind

impl Hash for WatcherKind

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for WatcherKind

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for WatcherKind

Auto Trait Implementations

impl Freeze for WatcherKind

impl RefUnwindSafe for WatcherKind

impl Send for WatcherKind

impl Sync for WatcherKind

impl Unpin for WatcherKind

impl UnsafeUnpin for WatcherKind

impl UnwindSafe for WatcherKind

Blanket Implementations

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

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

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

impl<T> CloneToUninit for WatcherKind where T: Clone,

impl<T> From<T> for WatcherKind

impl<T> ToOwned for WatcherKind where T: Clone,

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

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

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