Struct humphrey_server::server::proxy::LoadBalancer [−][src]
pub struct LoadBalancer {
pub targets: Vec<String>,
pub mode: LoadBalancerMode,
pub index: usize,
pub lcg: Lcg,
}
Expand description
Represents a load balancer.
Fields
targets: Vec<String>
mode: LoadBalancerMode
index: usize
lcg: Lcg
Implementations
Selects a target according to the load balancer mode.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancer
impl Send for LoadBalancer
impl Sync for LoadBalancer
impl Unpin for LoadBalancer
impl UnwindSafe for LoadBalancer
Blanket Implementations
Mutably borrows from an owned value. Read more