#[non_exhaustive]pub enum WatchMode {
Detailed,
Coarse,
}Expand description
The mode a watch is established in (D-13/D-17).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Detailed
ReadDirectoryChangesW on a ThreadpoolIo.
Coarse
FindFirstChangeNotification on a ThreadpoolWait (M6): the universal
floor, reached when the volume does not support the detailed API.
Trait Implementations§
impl Copy for WatchMode
impl Eq for WatchMode
impl StructuralPartialEq for WatchMode
Auto Trait Implementations§
impl Forget for WatchMode
impl Freeze for WatchMode
impl Move 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