[−][src]Enum solicit::http::HttpError
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
The HTTP/2 connection received an invalid HTTP/2 frame
PeerConnectionError(ConnectionError)
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.
Trait Implementations
impl Debug for HttpError
[src]
impl Display for HttpError
[src]
impl Error for HttpError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl<E> From<E> for HttpError where
E: HttpConnectError + 'static,
[src]
E: HttpConnectError + 'static,
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.
Auto Trait Implementations
impl !RefUnwindSafe for HttpError
impl Send for HttpError
impl Sync for HttpError
impl Unpin for HttpError
impl !UnwindSafe for HttpError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,