pub enum Scheduler {
Show 13 variants
RoundRobin,
WeightedRoundRobin,
LeastConnection,
WeightedLeastConnection,
LocalityBasedLeastConnection,
LocalityBasedLeastConnectionWithReplication,
DestinationHashing,
SourceHashing,
ShortestExpectedDelay,
NeverQueue,
WeightedFailover,
WeightedOverflow,
MaglevHashing,
}
Variants§
RoundRobin
WeightedRoundRobin
LeastConnection
WeightedLeastConnection
LocalityBasedLeastConnection
LocalityBasedLeastConnectionWithReplication
DestinationHashing
SourceHashing
ShortestExpectedDelay
NeverQueue
WeightedFailover
WeightedOverflow
MaglevHashing
Trait Implementations§
impl Copy for Scheduler
impl Eq for Scheduler
impl StructuralPartialEq for Scheduler
Auto Trait Implementations§
impl Freeze for Scheduler
impl RefUnwindSafe for Scheduler
impl Send for Scheduler
impl Sync for Scheduler
impl Unpin for Scheduler
impl UnwindSafe for Scheduler
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