pub struct PluginWatcherConfig {
pub plugins_dir: PathBuf,
pub debounce: Duration,
}Expand description
Configuration for the plugin filesystem watcher.
Fields§
§plugins_dir: PathBufDirectory to watch for plugin changes.
debounce: DurationDebounce duration to coalesce rapid filesystem events.
Trait Implementations§
Source§impl Clone for PluginWatcherConfig
impl Clone for PluginWatcherConfig
Source§fn clone(&self) -> PluginWatcherConfig
fn clone(&self) -> PluginWatcherConfig
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 PluginWatcherConfig
impl Debug for PluginWatcherConfig
Auto Trait Implementations§
impl Freeze for PluginWatcherConfig
impl RefUnwindSafe for PluginWatcherConfig
impl Send for PluginWatcherConfig
impl Sync for PluginWatcherConfig
impl Unpin for PluginWatcherConfig
impl UnsafeUnpin for PluginWatcherConfig
impl UnwindSafe for PluginWatcherConfig
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