pub(crate) async fn update(
        &self,
        server: &Server,
        server_description: ServerDescription,
    ) -> bool {
        self.update_and_notify(server, server_description, self.state.write().await)
            .await
    }
/// Updates the topology using the given `ServerDescription`. Monitors for new servers will
/// be started as necessary.
///
/// Returns true if the topology changed as a result of the update and false otherwise.
Updates the topology using the given `ServerDescription`. Monitors for new servers will
be started as necessary.

Returns true if the topology changed as a result of the update and false otherwise.
Updates the topology using the given ` ServerDescription ` . Monitors for new servers will be started as necessary . Returns true if the topology changed as a result of the update and false otherwise .
pub(crate) async fn update(
        &self,
        server: &Server,
        server_description: ServerDescription,
    ) -> bool {
        self.update_and_notify(server, server_description, self.state.write().await)
            .await
    }
pub ( crate ) async fn update ( & self , server : & Server , server_description : ServerDescription , ) -> bool { self . update_and_notify ( server , server_description , self . state . write ( ) . await ) . await }
Updates the topology using the given `ServerDescription`.
Updates the topology using the given ` ServerDescription ` .
&self
server
&Server
server_description
ServerDescription
&self
server
&Server
server_description
ServerDescription