Enum RecursiveMode
pub enum RecursiveMode
Indicates whether only the provided directory or its sub-directories as well should be watched
Variants
-
Recursive Watch all sub-directories as well, including directories created after installing the watch
-
NonRecursive Watch only the provided directory
Trait Implementations
impl Clone for RecursiveMode
fn clone(&self) -> RecursiveMode
impl Copy for RecursiveMode
impl Debug for RecursiveMode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RecursiveMode
impl Hash for RecursiveMode
fn hash<__H: Hasher>(&self, state: &mut __H)
impl Ord for RecursiveMode
fn cmp(&self, other: &RecursiveMode) -> Ordering
impl PartialEq for RecursiveMode
fn eq(&self, other: &RecursiveMode) -> bool
impl PartialOrd for RecursiveMode
fn partial_cmp(&self, other: &RecursiveMode) -> Option<Ordering>
impl StructuralPartialEq for RecursiveMode
Auto Trait Implementations
impl Freeze for RecursiveMode
impl RefUnwindSafe for RecursiveMode
impl Send for RecursiveMode
impl Sync for RecursiveMode
impl Unpin for RecursiveMode
impl UnsafeUnpin for RecursiveMode
impl UnwindSafe for RecursiveMode
Blanket Implementations
impl<T> Any for RecursiveMode
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for RecursiveMode
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for RecursiveMode
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for RecursiveMode
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for RecursiveMode
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RecursiveMode
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for RecursiveMode
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 RecursiveMode
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for RecursiveMode
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>