pub struct SpillConfig {
pub spill_threshold: u8,
pub restore_threshold: u8,
}Expand description
Spill controller configuration.
Fields§
§spill_threshold: u8Utilization threshold to begin spilling (default: 90%).
restore_threshold: u8Utilization threshold below which restoration can begin (default: 75%).
Trait Implementations§
Source§impl Clone for SpillConfig
impl Clone for SpillConfig
Source§fn clone(&self) -> SpillConfig
fn clone(&self) -> SpillConfig
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 SpillConfig
impl Debug for SpillConfig
Source§impl Default for SpillConfig
impl Default for SpillConfig
impl Copy for SpillConfig
Auto Trait Implementations§
impl Freeze for SpillConfig
impl RefUnwindSafe for SpillConfig
impl Send for SpillConfig
impl Sync for SpillConfig
impl Unpin for SpillConfig
impl UnsafeUnpin for SpillConfig
impl UnwindSafe for SpillConfig
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