pub struct WatcherHandle { /* private fields */ }Expand description
Owns the watcher background thread. Drop to stop watching.
notify-debouncer-mini spawns its background thread inside the
debouncer struct; dropping the struct kills the thread. Consumers
should hold this handle for the lifetime of their server.
Auto Trait Implementations§
impl Freeze for WatcherHandle
impl RefUnwindSafe for WatcherHandle
impl Send for WatcherHandle
impl Sync for WatcherHandle
impl Unpin for WatcherHandle
impl UnsafeUnpin for WatcherHandle
impl UnwindSafe for WatcherHandle
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