pub struct WatcherConfig {
pub watch_paths: Vec<PathBuf>,
pub exclude_patterns: Vec<String>,
pub max_file_size: u64,
pub debounce_ms: u64,
}Expand description
Configuration for the filesystem watcher.
Fields§
§watch_paths: Vec<PathBuf>Directories to monitor recursively.
exclude_patterns: Vec<String>Path patterns to exclude (component or extension match).
max_file_size: u64Maximum file size to scan (bytes). Larger files are skipped.
debounce_ms: u64Debounce interval in milliseconds for rapid file events.
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
Source§impl Default for WatcherConfig
impl Default for WatcherConfig
Source§impl<'de> Deserialize<'de> for WatcherConfig
impl<'de> Deserialize<'de> for WatcherConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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