pub struct PlanningConfig {
pub strategy: PlanningStrategy,
pub measure_performance: bool,
pub serialized_db_path: Option<String>,
pub auto_tune_config: Option<AutoTuneConfig>,
pub max_cached_plans: usize,
pub max_plan_age: Duration,
pub parallel_planning: bool,
}
Expand description
Configuration options for FFT planning
Fields§
§strategy: PlanningStrategy
Planning strategy to use
measure_performance: bool
Whether to measure plan performance
serialized_db_path: Option<String>
Path to serialized plans database
auto_tune_config: Option<AutoTuneConfig>
Auto-tuning configuration (if AutoTuned strategy is selected)
max_cached_plans: usize
Maximum number of plans to keep in memory
max_plan_age: Duration
Maximum age for cached plans
parallel_planning: bool
Whether to use parallel execution for planning
Trait Implementations§
Source§impl Clone for PlanningConfig
impl Clone for PlanningConfig
Source§fn clone(&self) -> PlanningConfig
fn clone(&self) -> PlanningConfig
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 PlanningConfig
impl Debug for PlanningConfig
Auto Trait Implementations§
impl Freeze for PlanningConfig
impl RefUnwindSafe for PlanningConfig
impl Send for PlanningConfig
impl Sync for PlanningConfig
impl Unpin for PlanningConfig
impl UnwindSafe for PlanningConfig
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