Module error
Source - Error
- A generic “error” for HTTP connections
- InvalidHeaderName
- A possible error when converting a
HeaderName from another type. - InvalidHeaderValue
- A possible error when converting a
HeaderValue from a string or byte
slice. - InvalidMethod
- A possible error value when converting
Method from bytes. - InvalidStatusCode
- A possible error value when converting a
StatusCode from a u16 or &str. - InvalidUri
- An error resulting from a failed attempt to construct a URI.
- ToStrError
- A possible error when converting a
HeaderValue to a string representation.
- Result
- A
Result typedef to use with the http::Error type