pub enum StatusInRangeFailureClass {
StatusCode(StatusCode),
Error(String),
}Expand description
The failure class for StatusInRangeAsFailures.
Variants
StatusCode(StatusCode)
A response was classified as a failure with the corresponding status.
Error(String)
A response was classified as an error with the corresponding error description.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StatusInRangeFailureClass
impl Send for StatusInRangeFailureClass
impl Sync for StatusInRangeFailureClass
impl Unpin for StatusInRangeFailureClass
impl UnwindSafe for StatusInRangeFailureClass
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