pub struct WatcherConfig {
pub poll_interval: Duration,
pub debounce: Duration,
}Expand description
Configuration for the async watcher
Fields§
§poll_interval: DurationFallback poll interval (safety net for missed events)
debounce: DurationDebounce duration for rapid file changes
Trait Implementations§
Source§impl Clone for WatcherConfig
impl Clone for WatcherConfig
Source§fn clone(&self) -> WatcherConfig
fn clone(&self) -> WatcherConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WatcherConfig
impl Debug for WatcherConfig
Auto Trait Implementations§
impl Freeze for WatcherConfig
impl RefUnwindSafe for WatcherConfig
impl Send for WatcherConfig
impl Sync for WatcherConfig
impl Unpin for WatcherConfig
impl UnsafeUnpin for WatcherConfig
impl UnwindSafe for WatcherConfig
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