pub trait RedirectServerError: Sized {
// Required method
async fn redirect_server_error(self) -> Result<Self, ServerError>;
}Expand description
Trait to recover public errors from server.
Required Methods§
Sourceasync fn redirect_server_error(self) -> Result<Self, ServerError>
async fn redirect_server_error(self) -> Result<Self, ServerError>
Redirects server error.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl RedirectServerError for Response
Available on crate features reqwest and mresult only.
impl RedirectServerError for Response
Available on crate features
reqwest and mresult only.