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