Enum httpbis::Error[][src]

pub enum Error {
    IoError(Error),
    TlsError(Error),
    CodeError(ErrorCode),
    InvalidFrame(String),
    CompressionError(DecoderError),
    WindowSizeOverflow,
    UnknownStreamId,
    UnableToConnect,
    MalformedResponse,
    ConnectionTimeout,
    Shutdown,
    HandlerPanicked(String),
    ParseFrameError(ParseFrameError),
    InternalError(String),
    NotImplemented(&'static str),
    Other(&'static str),
    ClientDied(Option<Arc<Error>>),
    ClientPanicked(String),
    ClientCompletedWithoutError,
}

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 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 Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[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 Error
[src]

Performs the conversion.

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

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error