pub struct WatchMode {
pub recursive_mode: RecursiveMode,
pub target_mode: TargetMode,
}Expand description
Indicates how the path should be watched
Fields§
§recursive_mode: RecursiveModeIndicates whether to watch sub-directories as well
target_mode: TargetModeIndicates what happens when the relationship of the physical entity and the file path changes
Implementations§
Trait Implementations§
impl Copy for WatchMode
impl Eq for WatchMode
impl StructuralPartialEq for WatchMode
Auto Trait Implementations§
impl Freeze for WatchMode
impl RefUnwindSafe for WatchMode
impl Send for WatchMode
impl Sync for WatchMode
impl Unpin for WatchMode
impl UnsafeUnpin for WatchMode
impl UnwindSafe for WatchMode
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