pub enum LoadBalance {
RoundRobin,
LeastInFlight,
MinimumCacheUsage,
}Expand description
Placement policy for unpinned requests in aggregated serving.
Variants§
RoundRobin
Cycle through the engines.
LeastInFlight
The engine with the fewest of this client’s requests in flight.
MinimumCacheUsage
The engine whose latest reported load holds the fewest KV pages, then the fewest of this client’s requests in flight.
Trait Implementations§
Source§impl Clone for LoadBalance
impl Clone for LoadBalance
impl Copy for LoadBalance
Source§impl Debug for LoadBalance
impl Debug for LoadBalance
impl Eq for LoadBalance
Source§impl PartialEq for LoadBalance
impl PartialEq for LoadBalance
impl StructuralPartialEq for LoadBalance
Auto Trait Implementations§
impl Freeze for LoadBalance
impl RefUnwindSafe for LoadBalance
impl Send for LoadBalance
impl Sync for LoadBalance
impl Unpin for LoadBalance
impl UnsafeUnpin for LoadBalance
impl UnwindSafe for LoadBalance
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.