pub enum LoadBalance {
MinHopLowestLatency,
RoundRobin,
MostRecent,
LowestLatency,
}Variants§
MinHopLowestLatency
Use the route with the lowest latency among those with the fewest hops.
RoundRobin
Round-robin the route list.
MostRecent
Use the most recently added route.
LowestLatency
Use the route with the lowest latency.
Trait Implementations§
Source§impl Clone for LoadBalance
impl Clone for LoadBalance
Source§fn clone(&self) -> LoadBalance
fn clone(&self) -> LoadBalance
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadBalance
impl Debug for LoadBalance
Source§impl Default for LoadBalance
impl Default for LoadBalance
Source§fn default() -> LoadBalance
fn default() -> LoadBalance
Returns the “default value” for a type. Read more
Source§impl PartialEq for LoadBalance
impl PartialEq for LoadBalance
impl Copy for LoadBalance
impl Eq 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 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