pub enum HttpError {
IoError(Error),
InvalidFrame,
CompressionError(DecoderError),
UnknownStreamId,
UnableToConnect,
MalformedResponse,
Other(Box<Error + Send + Sync>),
}
An enum representing errors that can arise when performing operations
involving an HTTP/2 connection.
Formats the value using the given formatter. Read more
Implement the trait that allows us to automatically convert io::Error
s
into an HttpError
by wrapping the given io::Error
into an HttpError::IoError
variant.
Formats the value using the given formatter. Read more
The lower-level cause of this error, if any. Read more