pub struct PreheatingConfig {
pub enable_predictive_preheating: bool,
pub enable_pattern_learning: bool,
pub min_confidence_threshold: f64,
pub max_preheat_entries: usize,
pub max_concurrent_preheats: usize,
pub max_preheat_queue_size: usize,
pub preheat_interval: u64,
pub preheat_window_seconds: u64,
pub pattern_window_seconds: u64,
pub enable_background_preheat: bool,
pub max_cpu_usage: f64,
pub history_size: usize,
}Expand description
Predictive preheating configuration
Fields§
§enable_predictive_preheating: boolEnable predictive preheating
enable_pattern_learning: boolEnable pattern learning
min_confidence_threshold: f64Minimum prediction confidence threshold (0.0 to 1.0)
max_preheat_entries: usizeMaximum number of entries to preheat per cycle
max_concurrent_preheats: usizeMaximum concurrent preheating operations
max_preheat_queue_size: usizeMaximum preheating queue size
preheat_interval: u64Preheating interval (in seconds)
preheat_window_seconds: u64Preheating window (seconds before predicted access)
pattern_window_seconds: u64Pattern window for learning (in seconds)
enable_background_preheat: boolEnable background preheating
max_cpu_usage: f64Maximum CPU usage for preheating (0.0 to 1.0)
history_size: usizeAccess pattern history size
Trait Implementations§
Source§impl Clone for PreheatingConfig
impl Clone for PreheatingConfig
Source§fn clone(&self) -> PreheatingConfig
fn clone(&self) -> PreheatingConfig
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 PreheatingConfig
impl Debug for PreheatingConfig
Source§impl Default for PreheatingConfig
impl Default for PreheatingConfig
Source§impl<'de> Deserialize<'de> for PreheatingConfig
impl<'de> Deserialize<'de> for PreheatingConfig
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 PreheatingConfig
impl RefUnwindSafe for PreheatingConfig
impl Send for PreheatingConfig
impl Sync for PreheatingConfig
impl Unpin for PreheatingConfig
impl UnsafeUnpin for PreheatingConfig
impl UnwindSafe for PreheatingConfig
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