pub struct ParallelPlanningConfig {
pub base_config: PlanningConfig,
pub max_threads: Option<usize>,
pub parallel_threshold: usize,
pub use_work_stealing: bool,
pub parallel_execution: bool,
}Expand description
Configuration options for parallel planning
Fields§
§base_config: PlanningConfigBase planning configuration
max_threads: Option<usize>Maximum number of threads to use
parallel_threshold: usizeMinimum size threshold for parallel planning
use_work_stealing: boolWhether to use work stealing
parallel_execution: boolWhether to enable parallel execution
Trait Implementations§
Source§impl Clone for ParallelPlanningConfig
impl Clone for ParallelPlanningConfig
Source§fn clone(&self) -> ParallelPlanningConfig
fn clone(&self) -> ParallelPlanningConfig
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 ParallelPlanningConfig
impl Debug for ParallelPlanningConfig
Auto Trait Implementations§
impl Freeze for ParallelPlanningConfig
impl RefUnwindSafe for ParallelPlanningConfig
impl Send for ParallelPlanningConfig
impl Sync for ParallelPlanningConfig
impl Unpin for ParallelPlanningConfig
impl UnwindSafe for ParallelPlanningConfig
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