Enum WatcherKind
enum WatcherKind
Watcher kind enumeration
Variants
-
Inotify inotify backend (linux)
-
Fsevent FS-Event backend (mac)
-
Kqueue KQueue backend (bsd,optionally mac)
-
PollWatcher Polling based backend (fallback)
-
ReadDirectoryChangesWatcher Windows backend
-
NullWatcher Fake watcher for testing
Implementations
impl Clone for WatcherKind
fn clone(self: &Self) -> WatcherKind
impl Copy for WatcherKind
impl Debug for WatcherKind
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for WatcherKind
impl Freeze for WatcherKind
impl Hash for WatcherKind
fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)
impl PartialEq for WatcherKind
fn eq(self: &Self, other: &WatcherKind) -> bool
impl RefUnwindSafe for WatcherKind
impl Send for WatcherKind
impl StructuralPartialEq for WatcherKind
impl Sync for WatcherKind
impl Unpin for WatcherKind
impl UnwindSafe for WatcherKind
impl<T> Any for WatcherKind
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for WatcherKind
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for WatcherKind
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for WatcherKind
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for WatcherKind
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for WatcherKind
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for WatcherKind
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 WatcherKind
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for WatcherKind
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>