pub struct WatchConfig {
pub watch_dir: PathBuf,
pub gid_dir: PathBuf,
pub debounce_ms: u64,
pub lsp: bool,
pub no_semantify: bool,
pub backend: Option<StorageBackend>,
}Expand description
Configuration for the watch/sync operation.
Fields§
§watch_dir: PathBufDirectory to watch for changes.
gid_dir: PathBufPath to the .gid directory.
debounce_ms: u64Debounce interval in milliseconds.
lsp: boolWhether to run LSP refinement (expensive).
no_semantify: boolWhether to skip semantify.
backend: Option<StorageBackend>Storage backend override (None = auto-detect).
Implementations§
Trait Implementations§
Source§impl Clone for WatchConfig
impl Clone for WatchConfig
Source§fn clone(&self) -> WatchConfig
fn clone(&self) -> WatchConfig
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 moreAuto Trait Implementations§
impl Freeze for WatchConfig
impl RefUnwindSafe for WatchConfig
impl Send for WatchConfig
impl Sync for WatchConfig
impl Unpin for WatchConfig
impl UnsafeUnpin for WatchConfig
impl UnwindSafe for WatchConfig
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