Trait sozu_lib::network::load_balancing::LoadBalancingAlgorithm [−][src]
pub trait LoadBalancingAlgorithm: Debug { fn next_available_backend(
&mut self,
backends: &Vec<Rc<RefCell<Backend>>>
) -> Option<Rc<RefCell<Backend>>>; }
Required Methods
fn next_available_backend(
&mut self,
backends: &Vec<Rc<RefCell<Backend>>>
) -> Option<Rc<RefCell<Backend>>>
&mut self,
backends: &Vec<Rc<RefCell<Backend>>>
) -> Option<Rc<RefCell<Backend>>>
Implementors
impl LoadBalancingAlgorithm for RoundRobinAlgorithmimpl LoadBalancingAlgorithm for RandomAlgorithm