[−][src]Enum solicit::http::ErrorCode
The enum represents an error code that are used in RST_STREAM
and GOAWAY
frames.
These are defined in Section 7 of the HTTP/2
spec.
Variants
The associated condition is not a result of an error. For example, a GOAWAY might include this code to indicate graceful shutdown of a connection.
The endpoint detected an unspecific protocol error. This error is for use when a more specific error code is not available.
The endpoint encountered an unexpected internal error.
The endpoint detected that its peer violated the flow-control protocol.
The endpoint sent a SETTINGS frame but did not receive a response in a timely manner. See Section 6.5.3 ("Settings Synchronization").
The endpoint received a frame after a stream was half-closed.
The endpoint received a frame with an invalid size.
The endpoint refused the stream prior to performing any application processing (see Section 8.1.4 for details).
Used by the endpoint to indicate that the stream is no longer needed.
The endpoint is unable to maintain the header compression context for the connection.
The connection established in response to a CONNECT request (Section 8.3) was reset or abnormally closed.
The endpoint detected that its peer is exhibiting a behavior that might be generating excessive load.
The underlying transport has properties that do not meet minimum security requirements (see Section 9.2).
The endpoint requires that HTTP/1.1 be used instead of HTTP/2.
Trait Implementations
impl AsRef<str> for ErrorCode
[src]
impl Clone for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src]
impl From<u32> for ErrorCode
[src]
fn from(code: u32) -> ErrorCode
[src]
Converts the given u32
number to the appropriate ErrorCode
variant.
impl Into<u32> for ErrorCode
[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,