pub struct ConfigOptimizer { /* private fields */ }
Expand description
configuration optimizer
Implementations§
Source§impl ConfigOptimizer
impl ConfigOptimizer
Sourcepub fn new() -> TrackingResult<Self>
pub fn new() -> TrackingResult<Self>
create new configuration optimizer
Sourcepub fn auto_optimize(
&mut self,
target: OptimizationTarget,
dataset_size: Option<usize>,
) -> TrackingResult<FastExportConfigBuilder>
pub fn auto_optimize( &mut self, target: OptimizationTarget, dataset_size: Option<usize>, ) -> TrackingResult<FastExportConfigBuilder>
auto optimize configuration
Sourcepub fn get_optimization_history(&self) -> &[OptimizationRecord]
pub fn get_optimization_history(&self) -> &[OptimizationRecord]
get optimization history
Sourcepub fn clear_history(&mut self)
pub fn clear_history(&mut self)
clear optimization history
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigOptimizer
impl RefUnwindSafe for ConfigOptimizer
impl Send for ConfigOptimizer
impl Sync for ConfigOptimizer
impl Unpin for ConfigOptimizer
impl UnwindSafe for ConfigOptimizer
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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