pub struct LoadBalancerStats {
pub strategy: LoadBalancingStrategy,
pub total_endpoints: usize,
pub healthy_endpoints: usize,
pub total_connections: usize,
pub total_requests: u64,
}Expand description
Load balancer statistics
Fields§
§strategy: LoadBalancingStrategy§total_endpoints: usize§healthy_endpoints: usize§total_connections: usize§total_requests: u64Trait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LoadBalancerStats
impl RefUnwindSafe for LoadBalancerStats
impl Send for LoadBalancerStats
impl Sync for LoadBalancerStats
impl Unpin 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