pub struct MonitorConfig {
pub history_size: usize,
pub baseline_window: usize,
pub degradation_threshold: f64,
pub enable_auto_optimization: bool,
pub sample_rate: f64,
}
Expand description
Configuration for performance monitoring
Fields§
§history_size: usize
§baseline_window: usize
§degradation_threshold: f64
§enable_auto_optimization: bool
§sample_rate: f64
Trait Implementations§
Source§impl Clone for MonitorConfig
impl Clone for MonitorConfig
Source§fn clone(&self) -> MonitorConfig
fn clone(&self) -> MonitorConfig
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 MonitorConfig
impl Debug for MonitorConfig
Auto Trait Implementations§
impl Freeze for MonitorConfig
impl RefUnwindSafe for MonitorConfig
impl Send for MonitorConfig
impl Sync for MonitorConfig
impl Unpin for MonitorConfig
impl UnwindSafe for MonitorConfig
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