pub enum ScalingStrategy {
Conservative,
Aggressive,
Predictive,
Adaptive,
}Expand description
Scaling strategies with different aggressiveness levels
Variants§
Conservative
Conservative: Small incremental changes
Aggressive
Aggressive: Large rapid changes
Predictive
Predictive: Based on historical patterns
Adaptive
Adaptive: Adjusts strategy based on success rate
Trait Implementations§
Source§impl Clone for ScalingStrategy
impl Clone for ScalingStrategy
Source§fn clone(&self) -> ScalingStrategy
fn clone(&self) -> ScalingStrategy
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 ScalingStrategy
impl Debug for ScalingStrategy
Source§impl PartialEq for ScalingStrategy
impl PartialEq for ScalingStrategy
impl Copy for ScalingStrategy
impl StructuralPartialEq for ScalingStrategy
Auto Trait Implementations§
impl Freeze for ScalingStrategy
impl RefUnwindSafe for ScalingStrategy
impl Send for ScalingStrategy
impl Sync for ScalingStrategy
impl Unpin for ScalingStrategy
impl UnwindSafe for ScalingStrategy
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> Inspectable for T
impl<T> Inspectable for T
Source§fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
fn inspect_if(self, condition: bool, label: &str) -> Selfwhere
Self: Debug,
Conditionally inspect this value
Source§fn inspect_with<F>(self, label: &str, f: F) -> Self
fn inspect_with<F>(self, label: &str, f: F) -> Self
Inspect with a custom formatter