consul
pub struct Health { // some fields omitted }
Health can be used to query the Health endpoints
impl Health
fn new(address: &str) -> Health
fn service(&self, name: &str, o_tag: Option<&str>) -> Vec<HealthService>
fn healthy_nodes_by_service(&self, service_id: &str) -> Result<Vec<String>, String>
fn get_healthy_nodes(&self, service_id: &str) -> Result<Vec<String>, String>