pub struct HotReloadConfig {
pub enabled: bool,
pub check_interval: u64,
pub debounce_delay: u64,
pub auto_reload: bool,
pub watch_recursive: bool,
pub watch_patterns: Vec<String>,
pub exclude_patterns: Vec<String>,
}Expand description
Hot reload configuration
Fields§
§enabled: boolEnable hot reloading
check_interval: u64Check interval in seconds
debounce_delay: u64Debounce delay in milliseconds
auto_reload: boolAuto-reload on file change
watch_recursive: boolWatch subdirectories
watch_patterns: Vec<String>File patterns to watch (e.g., “.so”, “.wasm”)
exclude_patterns: Vec<String>Exclude patterns
Trait Implementations§
Source§impl Clone for HotReloadConfig
impl Clone for HotReloadConfig
Source§fn clone(&self) -> HotReloadConfig
fn clone(&self) -> HotReloadConfig
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 HotReloadConfig
impl Debug for HotReloadConfig
Source§impl Default for HotReloadConfig
impl Default for HotReloadConfig
Source§impl<'de> Deserialize<'de> for HotReloadConfig
impl<'de> Deserialize<'de> for HotReloadConfig
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 HotReloadConfig
impl RefUnwindSafe for HotReloadConfig
impl Send for HotReloadConfig
impl Sync for HotReloadConfig
impl Unpin for HotReloadConfig
impl UnwindSafe for HotReloadConfig
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