async fn select_backend_index(
load_balancer_algorithm: &LoadBalancerAlgorithmInner,
backends: &[(UpstreamInner, Option<usize>, Option<Duration>)],
) -> usizeExpand description
Selects an index for a backend server based on the load balancing algorithm.