/// Start/stop monitoring tasks and create/destroy connection pools based on the new and
/// removed servers in the topology description.
Start/stop monitoring tasks and create/destroy connection pools based on the new and
removed servers in the topology description.
Start / stop monitoring tasks and create / destroy connection pools based on the new and removed servers in the topology description .
fn update_hosts(
        &mut self,
        hosts: &HashSet<ServerAddress>,
        options: &ClientOptions,
        topology: WeakTopology,
    ) {
        self.description.sync_hosts(hosts);
        self.sync_hosts(hosts, options, &topology);
    }
fn update_hosts ( & mut self , hosts : & HashSet < ServerAddress > , options : & ClientOptions , topology : WeakTopology , ) { self . description . sync_hosts ( hosts ) ; self . sync_hosts ( hosts , options , & topology ) ; }
Start/stop monitoring tasks and create/destroy connection pools based on the new and
removed servers in the topology description.
Start / stop monitoring tasks and create / destroy connection pools based on the new and removed servers in the topology description .
&mut self
hosts
&HashSet<ServerAddress>
options
&ClientOptions
topology
WeakTopology