pub struct WatcherConfig {
pub debounce_delay: Duration,
pub max_debounce_delay: Duration,
pub burst_threshold: u32,
pub extra_watch_paths: Vec<PathBuf>,
}Expand description
Configuration for the file watcher
Fields§
§debounce_delay: DurationBase debounce delay
max_debounce_delay: DurationMaximum debounce delay during burst
burst_threshold: u32Burst detection threshold (events per second)
extra_watch_paths: Vec<PathBuf>Additional paths to watch (e.g. ~/.ccboard/ for live-sessions.json)
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