pub fn resolve_backoff<'a>(
hostname: &str,
policies: &'a [DomainPolicy],
default: &'a BackoffConfig,
) -> &'a BackoffConfigExpand description
Resolve the effective backoff config for a hostname.
Returns the first matching DomainPolicy.backoff when hostname_pattern
equals hostname, otherwise returns default.