pub enum LoadBalancingStrategy {
RoundRobin,
Weighted,
LeastConnections,
HealthBased,
}
Expand description
Load balancing strategies
Variants§
RoundRobin
Round-robin load balancing
Weighted
Weighted load balancing
LeastConnections
Least connections load balancing
HealthBased
Health-based load balancing
Trait Implementations§
Source§impl Clone for LoadBalancingStrategy
impl Clone for LoadBalancingStrategy
Source§fn clone(&self) -> LoadBalancingStrategy
fn clone(&self) -> LoadBalancingStrategy
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 LoadBalancingStrategy
impl RefUnwindSafe for LoadBalancingStrategy
impl Send for LoadBalancingStrategy
impl Sync for LoadBalancingStrategy
impl Unpin for LoadBalancingStrategy
impl UnwindSafe for LoadBalancingStrategy
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