pub struct DiscoveryConfig {
pub watch_dirs: Vec<PathBuf>,
pub extensions: Vec<String>,
pub poll_interval: Duration,
pub auto_load: bool,
pub auto_reload: bool,
}Expand description
Discovery configuration.
Fields§
§watch_dirs: Vec<PathBuf>Directories to watch.
extensions: Vec<String>File extensions to look for.
poll_interval: DurationPolling interval for file system.
auto_load: boolWhether to auto-load discovered modules.
auto_reload: boolWhether to reload on file changes.
Trait Implementations§
Source§impl Clone for DiscoveryConfig
impl Clone for DiscoveryConfig
Source§fn clone(&self) -> DiscoveryConfig
fn clone(&self) -> DiscoveryConfig
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 DiscoveryConfig
impl Debug for DiscoveryConfig
Auto Trait Implementations§
impl Freeze for DiscoveryConfig
impl RefUnwindSafe for DiscoveryConfig
impl Send for DiscoveryConfig
impl Sync for DiscoveryConfig
impl Unpin for DiscoveryConfig
impl UnsafeUnpin for DiscoveryConfig
impl UnwindSafe for DiscoveryConfig
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