pub struct TuningStats {
pub tuning_cycles: u64,
pub successful_adjustments: u64,
pub ttl_adjustments: u64,
pub capacity_adjustments: u64,
pub eviction_strategy_changes: u64,
pub performance_improvement: f64,
pub last_tuning_timestamp: u64,
pub stability_score: f64,
}Expand description
Adaptive tuning statistics
Fields§
§tuning_cycles: u64Total tuning cycles performed
successful_adjustments: u64Successful tuning adjustments
ttl_adjustments: u64TTL adjustments made
capacity_adjustments: u64Capacity adjustments made
eviction_strategy_changes: u64Eviction strategy changes
performance_improvement: f64Performance improvement from tuning (percentage)
last_tuning_timestamp: u64Last tuning timestamp
stability_score: f64Current tuning stability score (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for TuningStats
impl Clone for TuningStats
Source§fn clone(&self) -> TuningStats
fn clone(&self) -> TuningStats
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 TuningStats
impl Debug for TuningStats
Source§impl Default for TuningStats
impl Default for TuningStats
Source§impl<'de> Deserialize<'de> for TuningStats
impl<'de> Deserialize<'de> for TuningStats
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 TuningStats
impl RefUnwindSafe for TuningStats
impl Send for TuningStats
impl Sync for TuningStats
impl Unpin for TuningStats
impl UnsafeUnpin for TuningStats
impl UnwindSafe for TuningStats
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