async fn mark_server_as_unknown(
        &self,
        error: String,
        server: &Server,
        state_lock: RwLockWriteGuard<'_, TopologyState>,
    ) -> bool {
        let description = ServerDescription::new(server.address.clone(), Some(Err(error)));
        self.update_and_notify(server, description, state_lock)
            .await
    }
/// Marks a server in the cluster as unknown due to the given `error`.
/// Returns whether the topology changed as a result of the update.
Marks a server in the cluster as unknown due to the given `error`.
Returns whether the topology changed as a result of the update.
Marks a server in the cluster as unknown due to the given ` error ` . Returns whether the topology changed as a result of the update .
async fn mark_server_as_unknown(
        &self,
        error: String,
        server: &Server,
        state_lock: RwLockWriteGuard<'_, TopologyState>,
    ) -> bool {
        let description = ServerDescription::new(server.address.clone(), Some(Err(error)));
        self.update_and_notify(server, description, state_lock)
            .await
    }
async fn mark_server_as_unknown ( & self , error : String , server : & Server , state_lock : RwLockWriteGuard < ' _ , TopologyState > , ) -> bool { let description = ServerDescription :: new ( server . address . clone ( ) , Some ( Err ( error ) ) ) ; self . update_and_notify ( server , description , state_lock ) . await }
Marks a server in the cluster as unknown due to the given `error`.
Marks a server in the cluster as unknown due to the given ` error ` .
&self
error
String
server
&Server
state_lock
RwLockWriteGuard<'_, TopologyState>
&self
error
String
server
&Server
state_lock
RwLockWriteGuard<'_, TopologyState>