fn add_new_servers_from_addresses<'a>(
        &mut self,
        servers: impl Iterator<Item = &'a ServerAddress>,
    ) {
        for server in servers {
            if !self.servers.contains_key(server) {
                self.servers
                    .insert(server.clone(), ServerDescription::new(server.clone(), None));
            }
        }
    }
/// Create a new ServerDescription for each address and add it to the topology.
Create a new ServerDescription for each address and add it to the topology.
Create a new ServerDescription for each address and add it to the topology .
fn add_new_servers_from_addresses<'a>(
        &mut self,
        servers: impl Iterator<Item = &'a ServerAddress>,
    ) {
        for server in servers {
            if !self.servers.contains_key(server) {
                self.servers
                    .insert(server.clone(), ServerDescription::new(server.clone(), None));
            }
        }
    }
fn add_new_servers_from_addresses < ' a > ( & mut self , servers : impl Iterator < Item = & ' a ServerAddress > , ) { for server in servers { if ! self . servers . contains_key ( server ) { self . servers . insert ( server . clone ( ) , ServerDescription :: new ( server . clone ( ) , None ) ) ; } } }
Create a new ServerDescription for each address and add it to the topology.
Create a new ServerDescription for each address and add it to the topology .
&mut self
servers
impl Iterator<Item = &'a ServerAddress>
&mut self
servers
impl Iterator<Item = &'a ServerAddress>