pub struct ConfigWatch {
task: JoinHandle<()>,
}Expand description
A live watch. Dropping it stops the task and with it the watcher.
Fields§
§task: JoinHandle<()>Trait Implementations§
Source§impl Drop for ConfigWatch
impl Drop for ConfigWatch
Auto Trait Implementations§
impl Freeze for ConfigWatch
impl RefUnwindSafe for ConfigWatch
impl Send for ConfigWatch
impl Sync for ConfigWatch
impl Unpin for ConfigWatch
impl UnsafeUnpin for ConfigWatch
impl UnwindSafe for ConfigWatch
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