Skip to main content

Module error

Module error 

Source

Structsยง

Error
A generic error for HTTP value conversions.
InvalidContentEncoding
An error returned when parsing an unknown or empty ContentEncoding name.
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.