pub fn limited(max: usize) -> RedirectPolicy {
        RedirectPolicy {
            inner: Policy::Limit(max),
        }
    }
/// Create a RedirectPolicy with a maximum number of redirects.
///
/// An `Error` will be returned if the max is reached.
Create a RedirectPolicy with a maximum number of redirects.
An `Error` will be returned if the max is reached.
Create a RedirectPolicy with a maximum number of redirects . An ` Error ` will be returned if the max is reached .
pub fn limited(max: usize) -> RedirectPolicy {
        RedirectPolicy {
            inner: Policy::Limit(max),
        }
    }
pub fn limited ( max : usize ) -> RedirectPolicy { RedirectPolicy { inner : Policy :: Limit ( max ) , } }
Create a RedirectPolicy with a maximum number of redirects.
Create a RedirectPolicy with a maximum number of redirects .
max
usize