pub(crate) async fn update_hosts(
        &self,
        hosts: HashSet<ServerAddress>,
        options: &ClientOptions,
    ) -> bool {
        self.state
            .write()
            .await
            .update_hosts(&hosts, options, self.downgrade());
        true
    }
/// Updates the hosts included in this topology, starting and stopping monitors as necessary.
Updates the hosts included in this topology, starting and stopping monitors as necessary.
Updates the hosts included in this topology starting and stopping monitors as necessary .
pub(crate) async fn update_hosts(
        &self,
        hosts: HashSet<ServerAddress>,
        options: &ClientOptions,
    ) -> bool {
        self.state
            .write()
            .await
            .update_hosts(&hosts, options, self.downgrade());
        true
    }
pub ( crate ) async fn update_hosts ( & self , hosts : HashSet < ServerAddress > , options : & ClientOptions , ) -> bool { self . state . write ( ) . await . update_hosts ( & hosts , options , self . downgrade ( ) ) ; true }
Updates the hosts included in this topology, starting and stopping monitors as necessary.
Updates the hosts included in this topology starting and stopping monitors as necessary .
&self
hosts
HashSet<ServerAddress>
options
&ClientOptions
&self
hosts
HashSet<ServerAddress>
options
&ClientOptions