pub enum LoadBalancingAlgorithms {
RoundRobin,
Random,
LeastLoaded,
PowerOfTwo,
}
Variants
RoundRobin
Random
LeastLoaded
PowerOfTwo
Trait Implementations
sourceimpl Clone for LoadBalancingAlgorithms
impl Clone for LoadBalancingAlgorithms
sourcefn clone(&self) -> LoadBalancingAlgorithms
fn clone(&self) -> LoadBalancingAlgorithms
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LoadBalancingAlgorithms
impl Debug for LoadBalancingAlgorithms
sourceimpl Default for LoadBalancingAlgorithms
impl Default for LoadBalancingAlgorithms
sourceimpl<'de> Deserialize<'de> for LoadBalancingAlgorithms
impl<'de> Deserialize<'de> for LoadBalancingAlgorithms
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromStr for LoadBalancingAlgorithms
impl FromStr for LoadBalancingAlgorithms
sourceimpl Hash for LoadBalancingAlgorithms
impl Hash for LoadBalancingAlgorithms
sourceimpl PartialEq<LoadBalancingAlgorithms> for LoadBalancingAlgorithms
impl PartialEq<LoadBalancingAlgorithms> for LoadBalancingAlgorithms
sourcefn eq(&self, other: &LoadBalancingAlgorithms) -> bool
fn eq(&self, other: &LoadBalancingAlgorithms) -> bool
sourceimpl Serialize for LoadBalancingAlgorithms
impl Serialize for LoadBalancingAlgorithms
impl Copy for LoadBalancingAlgorithms
impl Eq for LoadBalancingAlgorithms
impl StructuralEq for LoadBalancingAlgorithms
impl StructuralPartialEq for LoadBalancingAlgorithms
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancingAlgorithms
impl Send for LoadBalancingAlgorithms
impl Sync for LoadBalancingAlgorithms
impl Unpin for LoadBalancingAlgorithms
impl UnwindSafe for LoadBalancingAlgorithms
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more