pub struct LoadBalancerStats {
pub total_selections: u64,
pub failed_selections: u64,
pub active_endpoints: u32,
pub healthy_endpoints: u32,
pub total_connections: u64,
pub avg_load_score: f64,
}Expand description
Statistics for the load balancer
Fields§
§total_selections: u64Total selections made
failed_selections: u64Failed selections
active_endpoints: u32Active endpoints
healthy_endpoints: u32Healthy endpoints
total_connections: u64Total active connections
avg_load_score: f64Average load score across endpoints
Trait Implementations§
Source§impl Clone for LoadBalancerStats
impl Clone for LoadBalancerStats
Source§fn clone(&self) -> LoadBalancerStats
fn clone(&self) -> LoadBalancerStats
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 LoadBalancerStats
impl Debug for LoadBalancerStats
Source§impl Default for LoadBalancerStats
impl Default for LoadBalancerStats
Source§fn default() -> LoadBalancerStats
fn default() -> LoadBalancerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LoadBalancerStats
impl RefUnwindSafe for LoadBalancerStats
impl Send for LoadBalancerStats
impl Sync for LoadBalancerStats
impl Unpin for LoadBalancerStats
impl UnsafeUnpin for LoadBalancerStats
impl UnwindSafe for LoadBalancerStats
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