Function for_host

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

Create a retry builder with a request scope.

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