[][src]Trait sozu_lib::load_balancing::LoadBalancingAlgorithm

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>>>

Loading content...

Implementors

impl LoadBalancingAlgorithm for LeastConnectionsAlgorithm[src]

impl LoadBalancingAlgorithm for RandomAlgorithm[src]

impl LoadBalancingAlgorithm for RoundRobinAlgorithm[src]

Loading content...