pub struct LoadBalancerStats {
pub provider_count: usize,
pub strategy: LoadBalancingStrategy,
pub total_weight: u32,
pub request_count: usize,
}Expand description
Load balancer statistics
Fields§
§provider_count: usizeNumber of providers in the pool
strategy: LoadBalancingStrategyCurrent load balancing strategy
total_weight: u32Total weight (for weighted strategy)
request_count: usizeTotal number of requests processed
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 · 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