Enum hyper::client::RedirectPolicy [−][src]
Behavior regarding how to handle redirects within a Client.
Variants
FollowNone
Don't follow any redirects.
FollowAll
Follow all redirects.
FollowIf(fn(_: &Url) -> bool)
Follow a redirect if the contained function returns true.
Trait Implementations
impl Copy for RedirectPolicy
[src]
impl Copy for RedirectPolicy
impl Clone for RedirectPolicy
[src]
impl Clone for RedirectPolicy
fn clone(&self) -> RedirectPolicy
[src]
fn clone(&self) -> RedirectPolicy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for RedirectPolicy
[src]
impl Default for RedirectPolicy
fn default() -> RedirectPolicy
[src]
fn default() -> RedirectPolicy
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for RedirectPolicy
impl Send for RedirectPolicy
impl Sync for RedirectPolicy
impl Sync for RedirectPolicy