pub type AdaptivePicker = Arc<dyn Fn(&[String]) -> Option<String> + Send + Sync + 'static>;Expand description
Pluggable picker for RemoteRouterStrategy::Adaptive. Receives
the candidate addresses (as strings) and returns the chosen one.
Aliased Type§
pub struct AdaptivePicker { /* private fields */ }