Enum notify::RecursiveMode
source · pub enum RecursiveMode {
Recursive,
NonRecursive,
}
Expand description
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§
source§impl Clone for RecursiveMode
impl Clone for RecursiveMode
source§fn clone(&self) -> RecursiveMode
fn clone(&self) -> RecursiveMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RecursiveMode
impl Debug for RecursiveMode
source§impl Hash for RecursiveMode
impl Hash for RecursiveMode
source§impl Ord for RecursiveMode
impl Ord for RecursiveMode
source§fn cmp(&self, other: &RecursiveMode) -> Ordering
fn cmp(&self, other: &RecursiveMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RecursiveMode
impl PartialEq for RecursiveMode
source§impl PartialOrd for RecursiveMode
impl PartialOrd for RecursiveMode
impl Copy for RecursiveMode
impl Eq for RecursiveMode
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 UnwindSafe for RecursiveMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)