pub struct TuningCache { /* private fields */ }Expand description
Global tuning cache to avoid repeated auto-tuning.
Implementations§
Source§impl TuningCache
impl TuningCache
Sourcepub fn get() -> TuningConfig
pub fn get() -> TuningConfig
Gets the cached tuning configuration, initializing if needed.
Sourcepub fn set(config: &TuningConfig)
pub fn set(config: &TuningConfig)
Updates the cached configuration.
Auto Trait Implementations§
impl !Freeze for TuningCache
impl RefUnwindSafe for TuningCache
impl Send for TuningCache
impl Sync for TuningCache
impl Unpin for TuningCache
impl UnwindSafe for TuningCache
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