Struct http::Error [−][src]
pub struct Error { /* fields omitted */ }
A generic “error” for HTTP connections
This error type is less specific than the error returned from other
functions in this crate, but all other errors can be converted to this
error. Consumers of this crate can typically consume and work with this form
of error for conversions with the ?
operator.
Implementations
impl Error
[src]
impl Error
[src]Trait Implementations
impl From<Infallible> for Error
[src]
impl From<Infallible> for Error
[src]fn from(err: Infallible) -> Error
[src]
impl From<InvalidHeaderName> for Error
[src]
impl From<InvalidHeaderName> for Error
[src]fn from(err: InvalidHeaderName) -> Error
[src]
impl From<InvalidHeaderValue> for Error
[src]
impl From<InvalidHeaderValue> for Error
[src]fn from(err: InvalidHeaderValue) -> Error
[src]
impl From<InvalidMethod> for Error
[src]
impl From<InvalidMethod> for Error
[src]fn from(err: InvalidMethod) -> Error
[src]
impl From<InvalidStatusCode> for Error
[src]
impl From<InvalidStatusCode> for Error
[src]fn from(err: InvalidStatusCode) -> Error
[src]
impl From<InvalidUri> for Error
[src]
impl From<InvalidUri> for Error
[src]fn from(err: InvalidUri) -> Error
[src]
impl From<InvalidUriParts> for Error
[src]
impl From<InvalidUriParts> for Error
[src]