pub struct ThroughputOptimizerConfig {
pub target_throughput: f64,
pub strategy: ThroughputStrategy,
pub batch_size_optimization: bool,
pub pipeline_optimization: bool,
pub resource_scaling: bool,
pub load_balancing: bool,
pub max_parallelism: usize,
}Expand description
Throughput optimizer configuration
Fields§
§target_throughput: f64Target throughput (tasks/second)
strategy: ThroughputStrategyOptimization strategy
batch_size_optimization: boolEnable batch size optimization
pipeline_optimization: boolEnable pipeline optimization
resource_scaling: boolEnable resource scaling
load_balancing: boolEnable load balancing
max_parallelism: usizeMaximum parallelism level
Trait Implementations§
Source§impl Clone for ThroughputOptimizerConfig
impl Clone for ThroughputOptimizerConfig
Source§fn clone(&self) -> ThroughputOptimizerConfig
fn clone(&self) -> ThroughputOptimizerConfig
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 moreAuto Trait Implementations§
impl Freeze for ThroughputOptimizerConfig
impl RefUnwindSafe for ThroughputOptimizerConfig
impl Send for ThroughputOptimizerConfig
impl Sync for ThroughputOptimizerConfig
impl Unpin for ThroughputOptimizerConfig
impl UnwindSafe for ThroughputOptimizerConfig
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