Trait http_error::HttpError
source · pub trait HttpError: Error {
// Required method
fn status_code(&self) -> StatusCode;
// Provided methods
fn reason(&self, f: &mut Formatter<'_>) -> Result { ... }
fn headers(&self) -> Option<Vec<(HeaderName, HeaderValue)>> { ... }
}