pub enum WatchModeResult {
Success,
WatcherCreationFailed(String),
WatchPathFailed(String, String),
}Expand description
Result of running in watch mode
Variants§
Success
Watcher was successfully set up, initial scan was done
WatcherCreationFailed(String)
Failed to create watcher
WatchPathFailed(String, String)
Failed to watch a path
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WatchModeResult
impl RefUnwindSafe for WatchModeResult
impl Send for WatchModeResult
impl Sync for WatchModeResult
impl Unpin for WatchModeResult
impl UnwindSafe for WatchModeResult
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