pub struct HealthThresholds {
pub max_error_rate: f64,
pub max_avg_latency: Duration,
pub max_p95_latency: Duration,
pub min_success_rate: f64,
pub max_active_connections: usize,
}Fields§
§max_error_rate: f64§max_avg_latency: Duration§max_p95_latency: Duration§min_success_rate: f64§max_active_connections: usizeTrait Implementations§
Source§impl Clone for HealthThresholds
impl Clone for HealthThresholds
Source§fn clone(&self) -> HealthThresholds
fn clone(&self) -> HealthThresholds
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 HealthThresholds
impl Debug for HealthThresholds
Auto Trait Implementations§
impl Freeze for HealthThresholds
impl RefUnwindSafe for HealthThresholds
impl Send for HealthThresholds
impl Sync for HealthThresholds
impl Unpin for HealthThresholds
impl UnsafeUnpin for HealthThresholds
impl UnwindSafe for HealthThresholds
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