pub struct PerformanceConfig {
pub max_memory_mb: usize,
pub max_operations_per_batch: usize,
pub cache_size_mb: usize,
pub enable_streaming: bool,
pub max_concurrent_ops: usize,
pub operation_timeout_ms: u64,
}Expand description
Performance configuration for the engine
Fields§
§max_memory_mb: usizeMaximum memory usage in MB (advisory)
max_operations_per_batch: usizeMaximum operations per batch
cache_size_mb: usizeCache size in MB
enable_streaming: boolEnable streaming for large operations
max_concurrent_ops: usizeMaximum concurrent operations (for async)
operation_timeout_ms: u64Operation timeout in milliseconds
Implementations§
Source§impl PerformanceConfig
impl PerformanceConfig
Sourcepub fn high_performance() -> Self
pub fn high_performance() -> Self
Create a high-performance configuration
Trait Implementations§
Source§impl Clone for PerformanceConfig
impl Clone for PerformanceConfig
Source§fn clone(&self) -> PerformanceConfig
fn clone(&self) -> PerformanceConfig
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 PerformanceConfig
impl Debug for PerformanceConfig
Source§impl Default for PerformanceConfig
impl Default for PerformanceConfig
Source§impl<'de> Deserialize<'de> for PerformanceConfig
impl<'de> Deserialize<'de> for PerformanceConfig
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 PerformanceConfig
impl RefUnwindSafe for PerformanceConfig
impl Send for PerformanceConfig
impl Sync for PerformanceConfig
impl Unpin for PerformanceConfig
impl UnwindSafe for PerformanceConfig
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