pub struct WatchHandle { /* private fields */ }Expand description
Handle returned to the caller. Keeps the watch loop alive.
Drop it or call stop() to shut down the watcher.
Implementations§
Auto Trait Implementations§
impl Freeze for WatchHandle
impl !RefUnwindSafe for WatchHandle
impl Send for WatchHandle
impl Sync for WatchHandle
impl Unpin for WatchHandle
impl UnsafeUnpin for WatchHandle
impl !UnwindSafe for WatchHandle
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