pub enum WatcherType {
Children = 1,
Data = 2,
Any = 3,
Persistent = 4,
PersistentRecursive = 5,
}
Expand description
The type of watcher.
Variants§
Implementations§
Source§impl WatcherType
impl WatcherType
pub fn is_persistent(&self) -> bool
Trait Implementations§
Source§impl Clone for WatcherType
impl Clone for WatcherType
Source§fn clone(&self) -> WatcherType
fn clone(&self) -> WatcherType
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 WatcherType
impl Debug for WatcherType
Source§impl From<AddWatchMode> for WatcherType
impl From<AddWatchMode> for WatcherType
Source§fn from(watch_mode: AddWatchMode) -> Self
fn from(watch_mode: AddWatchMode) -> Self
Converts to this type from the input type.
Source§impl From<i32> for WatcherType
impl From<i32> for WatcherType
Source§fn from(val: i32) -> WatcherType
fn from(val: i32) -> WatcherType
Converts to this type from the input type.
Source§impl PartialEq for WatcherType
impl PartialEq for WatcherType
impl Copy for WatcherType
impl Eq for WatcherType
impl StructuralPartialEq for WatcherType
Auto Trait Implementations§
impl Freeze for WatcherType
impl RefUnwindSafe for WatcherType
impl Send for WatcherType
impl Sync for WatcherType
impl Unpin for WatcherType
impl UnwindSafe for WatcherType
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