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(Error)InvalidFrameCompressionError(DecoderError)UnknownStreamIdUnableToConnectMalformedResponseOther(Box<Error + Send + Sync>)
Trait Implementations
impl<E> From<E> for HttpError where
E: HttpConnectError + 'static, [src]
impl<E> From<E> for HttpError where
E: HttpConnectError + 'static, impl Debug for HttpError[src]
impl Debug for HttpErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Error> for HttpError[src]
impl From<Error> for HttpErrorImplement the trait that allows us to automatically convert io::Errors
into an HttpError by wrapping the given io::Error into an HttpError::IoError variant.
impl Display for HttpError[src]
impl Display for HttpErrorfn fmt(&self, fmt: &mut Formatter) -> Result[src]
fn fmt(&self, fmt: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for HttpError[src]
impl Error for HttpError