pub fn ingester_addresses(&self) -> Result<Vec<String>, Error> {
        let mut current_addresses = BTreeSet::new();
        self.ingester_addresses
            .iter()
            .map(|ingester_address| {
                if current_addresses.contains(ingester_address) {
                    RepeatedAddressSnafu { ingester_address }.fail()
                } else {
                    current_addresses.insert(ingester_address);
                    Ok(ingester_address.clone())
                }
            })
            .collect()
    }
/// Return the querier config's ingester addresses. Returns `Err`
/// if any of the addresses is repeated
Return the querier config's ingester addresses. Returns `Err`
if any of the addresses is repeated
Return the querier config ' s ingester addresses . Returns ` Err ` if any of the addresses is repeated
pub fn ingester_addresses(&self) -> Result<Vec<String>, Error> {
        let mut current_addresses = BTreeSet::new();
        self.ingester_addresses
            .iter()
            .map(|ingester_address| {
                if current_addresses.contains(ingester_address) {
                    RepeatedAddressSnafu { ingester_address }.fail()
                } else {
                    current_addresses.insert(ingester_address);
                    Ok(ingester_address.clone())
                }
            })
            .collect()
    }
pub fn ingester_addresses ( & self ) -> Result < Vec < String > , Error > { let mut current_addresses = BTreeSet :: new ( ) ; self . ingester_addresses . iter ( ) . map ( | ingester_address | { if current_addresses . contains ( ingester_address ) { RepeatedAddressSnafu { ingester_address } . fail ( ) } else { current_addresses . insert ( ingester_address ) ; Ok ( ingester_address . clone ( ) ) } } ) . collect ( ) }
Return the querier config's ingester addresses.
Return the querier config ' s ingester addresses .
&self
&self