pub struct WatchOptions {
pub debounce: Duration,
}Expand description
Tuning options for the file watcher.
Fields§
§debounce: DurationQuiet period after the last file event before reloading. Default: 200 ms.
Trait Implementations§
Source§impl Clone for WatchOptions
impl Clone for WatchOptions
impl Copy for WatchOptions
Source§impl Debug for WatchOptions
impl Debug for WatchOptions
Auto Trait Implementations§
impl Freeze for WatchOptions
impl RefUnwindSafe for WatchOptions
impl Send for WatchOptions
impl Sync for WatchOptions
impl Unpin for WatchOptions
impl UnsafeUnpin for WatchOptions
impl UnwindSafe for WatchOptions
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