/// Creates a new server selection timeout error message given the `criteria`.
Creates a new server selection timeout error message given the `criteria`.
Creates a new server selection timeout error message given the ` criteria ` .
pub(crate) async fn server_selection_timeout_error_message(
        &self,
        criteria: &SelectionCriteria,
    ) -> String {
        self.state
            .read()
            .await
            .description
            .server_selection_timeout_error_message(criteria)
    }
pub ( crate ) async fn server_selection_timeout_error_message ( & self , criteria : & SelectionCriteria , ) -> String { self . state . read ( ) . await . description . server_selection_timeout_error_message ( criteria ) }
Creates a new server selection timeout error message given the `criteria`.
Creates a new server selection timeout error message given the ` criteria ` .
&self
criteria
&SelectionCriteria