pub struct ScalingTriggers {
pub queue_pressure_threshold: f64,
pub worker_utilization_threshold: f64,
pub task_complexity_threshold: f64,
pub error_rate_threshold: f64,
pub memory_pressure_threshold: f64,
}
Expand description
Multi-dimensional scaling triggers
Fields§
§queue_pressure_threshold: f64
§worker_utilization_threshold: f64
§task_complexity_threshold: f64
§error_rate_threshold: f64
§memory_pressure_threshold: f64
Trait Implementations§
Source§impl Clone for ScalingTriggers
impl Clone for ScalingTriggers
Source§fn clone(&self) -> ScalingTriggers
fn clone(&self) -> ScalingTriggers
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 ScalingTriggers
impl Debug for ScalingTriggers
Source§impl<'de> Deserialize<'de> for ScalingTriggers
impl<'de> Deserialize<'de> for ScalingTriggers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScalingTriggers
impl RefUnwindSafe for ScalingTriggers
impl Send for ScalingTriggers
impl Sync for ScalingTriggers
impl Unpin for ScalingTriggers
impl UnwindSafe for ScalingTriggers
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