client::load_balance

Trait LoadBalance

Source
pub trait LoadBalance {
    // Required method
    fn get_peer<'a>(&self, peers: &'a [String]) -> Option<&'a String>;
}

Required Methods§

Source

fn get_peer<'a>(&self, peers: &'a [String]) -> Option<&'a String>

Implementors§