pub struct MemoryManagementConfig {
pub gc_config: GCConfig,
pub prefetch_config: PrefetchConfig,
pub defrag_config: DefragConfig,
pub enable_background_management: bool,
pub management_threads: usize,
pub memory_pressure_threshold: f64,
pub monitoring_interval: Duration,
}Expand description
Unified memory management configuration
Fields§
§gc_config: GCConfigGarbage collection configuration
prefetch_config: PrefetchConfigPrefetching configuration
defrag_config: DefragConfigDefragmentation configuration
enable_background_management: boolEnable background management
management_threads: usizeManagement thread count
memory_pressure_threshold: f64Memory pressure threshold
monitoring_interval: DurationPerformance monitoring interval
Trait Implementations§
Source§impl Clone for MemoryManagementConfig
impl Clone for MemoryManagementConfig
Source§fn clone(&self) -> MemoryManagementConfig
fn clone(&self) -> MemoryManagementConfig
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 MemoryManagementConfig
impl Debug for MemoryManagementConfig
Auto Trait Implementations§
impl Freeze for MemoryManagementConfig
impl RefUnwindSafe for MemoryManagementConfig
impl Send for MemoryManagementConfig
impl Sync for MemoryManagementConfig
impl Unpin for MemoryManagementConfig
impl UnsafeUnpin for MemoryManagementConfig
impl UnwindSafe for MemoryManagementConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more