pub struct PerformanceSettings {
pub max_concurrent_ops: u32,
pub default_timeout_secs: u64,
pub enable_monitoring: bool,
pub memory_limit_mb: Option<u64>,
pub cpu_limit_percent: Option<u8>,
}Expand description
Performance settings.
Fields§
§max_concurrent_ops: u32Maximum concurrent operations
default_timeout_secs: u64Timeout for operations in seconds
enable_monitoring: boolWhether to enable performance monitoring
memory_limit_mb: Option<u64>Memory limit in MB
cpu_limit_percent: Option<u8>CPU limit as percentage
Implementations§
Trait Implementations§
Source§impl Clone for PerformanceSettings
impl Clone for PerformanceSettings
Source§impl Debug for PerformanceSettings
impl Debug for PerformanceSettings
Source§impl Default for PerformanceSettings
impl Default for PerformanceSettings
Source§impl<'de> Deserialize<'de> for PerformanceSettings
impl<'de> Deserialize<'de> for PerformanceSettings
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 PerformanceSettings
impl RefUnwindSafe for PerformanceSettings
impl Send for PerformanceSettings
impl Sync for PerformanceSettings
impl Unpin for PerformanceSettings
impl UnsafeUnpin for PerformanceSettings
impl UnwindSafe for PerformanceSettings
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