Function for_host

fn for_host<S>(host: S) -> Builder
where
    S: for<'a> PartialEq<&'a str> + Send + Sync + 'static

Create a retry builder with a request scope.

To provide a scope that isn't a closure, use the more general [Builder::scoped()].