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

The underlying IO layer raised an error

The HTTP/2 connection received an invalid HTTP/2 frame

The peer indicated a connection error

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.

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.

Shutdown of local client or server

Trait Implementations

impl Debug for HttpError
[src]

Formats the value using the given formatter.

impl From<Error> for HttpError
[src]

Implement the trait that allows us to automatically convert io::Errors into an HttpError by wrapping the given io::Error into an HttpError::IoError variant.

Performs the conversion.

impl From<Error> for HttpError
[src]

Performs the conversion.

impl<F> From<TimeoutError<F>> for HttpError
[src]

Performs the conversion.

impl Display for HttpError
[src]

Formats the value using the given formatter. Read more

impl Error for HttpError
[src]

A short description of the error. Read more

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.