Enum solicit::http::HttpError [] [src]

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.

Variants

IoError
InvalidFrame
CompressionError
UnknownStreamId
UnableToConnect
MalformedResponse
Other

Trait Implementations

impl<E> From<E> for HttpError where E: HttpConnectError + 'static

fn from(e: E) -> HttpError

impl From<Error> for HttpError

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.

fn from(err: Error) -> HttpError

impl Display for HttpError

fn fmt(&self, fmt: &mut Formatter) -> Result

impl Error for HttpError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for HttpError

fn fmt(&self, arg_0: &mut Formatter) -> Result