Struct tower_http::follow_redirect::policy::Attempt
source · [−]pub struct Attempt<'a> { /* private fields */ }
This is supported on crate feature
follow-redirect
only.Expand description
A type that holds information on a redirection attempt.
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Attempt<'a>
impl<'a> UnwindSafe for Attempt<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
This is supported on crate feature
follow-redirect
only.Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more