Enum httpbis::solicit::HttpError
[−]
[src]
pub enum HttpError { IoError(Error), TlsError(Error), CodeError(ErrorCode), InvalidFrame(String), PeerConnectionError(ConnectionError), CompressionError(DecoderError), WindowSizeOverflow, UnknownStreamId, UnableToConnect, MalformedResponse, ConnectionTimeout, Shutdown, HandlerPanicked(String), Other(Box<Error + Send + Sync>), }
An enum representing errors that can arise when performing operations involving an HTTP/2 connection.
Variants
IoError(Error)
The underlying IO layer raised an error
TlsError(Error)
CodeError(ErrorCode)
InvalidFrame(String)
The HTTP/2 connection received an invalid HTTP/2 frame
PeerConnectionError(ConnectionError)
The peer indicated a connection error
CompressionError(DecoderError)
The HPACK decoder was unable to decode a header chunk and raised an error. Any decoder error is fatal to the HTTP/2 connection as it means that the decoder contexts will be out of sync.
WindowSizeOverflow
Indicates that the local peer has discovered an overflow in the size of one of the connection flow control window, which is a connection error.
UnknownStreamId
UnableToConnect
MalformedResponse
ConnectionTimeout
Shutdown
Shutdown of local client or server
HandlerPanicked(String)
Other(Box<Error + Send + Sync>)
Trait Implementations
impl Debug for HttpError
[src]
impl From<Error> for HttpError
[src]
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.
impl From<Error> for HttpError
[src]
impl<F> From<TimeoutError<F>> for HttpError
[src]
impl Display for HttpError
[src]
impl Error for HttpError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl PartialEq for HttpError
[src]
Implementation of the PartialEq
trait as a convenience for tests.
TODO: drop it