Type Definition Predicate
mongodb::options
type Predicate = Arc<dyn Send + Sync + Fn(&ServerInfo<'_>) -> bool>;
A predicate used to filter servers that are considered suitable.