pub struct HybridConfig {
pub parallel_threshold: usize,
pub async_threshold: usize,
pub adaptation_factor: f64,
pub history_window: usize,
}Expand description
Configuration for hybrid execution strategy
Fields§
§parallel_threshold: usizeItem count below which the parallel strategy is selected.
async_threshold: usizeItem count above which the async strategy is selected.
adaptation_factor: f64Exponential weighting applied to new performance observations during adaptation.
history_window: usizeNumber of recent performance observations retained per strategy.
Trait Implementations§
Source§impl Clone for HybridConfig
impl Clone for HybridConfig
Source§fn clone(&self) -> HybridConfig
fn clone(&self) -> HybridConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HybridConfig
impl Debug for HybridConfig
Source§impl Default for HybridConfig
impl Default for HybridConfig
Source§fn default() -> HybridConfig
fn default() -> HybridConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HybridConfig
impl RefUnwindSafe for HybridConfig
impl Send for HybridConfig
impl Sync for HybridConfig
impl Unpin for HybridConfig
impl UnsafeUnpin for HybridConfig
impl UnwindSafe for HybridConfig
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