[][src]Enum quiche::h3::Error

pub enum Error {
    Done,
    BufferTooShort,
    GeneralProtocolError,
    InternalError,
    RequestCancelled,
    RequestIncomplete,
    ConnectError,
    ExcessiveLoad,
    VersionFallback,
    IdError,
    StreamCreationError,
    ClosedCriticalStream,
    EarlyResponse,
    MissingSettings,
    FrameUnexpected,
    RequestRejected,
    SettingsError,
    FrameError,
    QpackDecompressionFailed,
    QpackEncoderStreamError,
    QpackDecoderStreamError,
    TransportError(Error),
}

An HTTP/3 error.

Variants

Done

There is no error or no work to do

BufferTooShort

The provided buffer is too short.

GeneralProtocolError

Peer violated protocol requirements in a way which doesn’t match a more specific error code, or endpoint declines to use the more specific error code.

InternalError

Internal error in the HTTP/3 stack.

RequestCancelled

The client no longer needs the requested data.

RequestIncomplete

The request stream terminated before completing the request.

ConnectError

Forward connection failure for CONNECT target.

ExcessiveLoad

Endpoint detected that the peer is exhibiting behavior that causes. excessive load.

VersionFallback

Operation cannot be served over HTTP/3. Retry over HTTP/1.1.

IdError

Stream ID or Push ID greater that current maximum was used incorrectly, such as exceeding a limit, reducing a limit, or being reused.

StreamCreationError

The endpoint detected that its peer created a stream that it will not accept.

ClosedCriticalStream

A required critical stream was closed.

EarlyResponse

Inform client that remainder of request is not needed. Used in STOP_SENDING only.

MissingSettings

No SETTINGS frame at beginning of control stream.

FrameUnexpected

A frame was received which is not permitted in the current state.

RequestRejected

Server rejected request without performing any application processing.

SettingsError

An endpoint detected an error in the payload of a SETTINGS frame: a duplicate setting was detected, a client-only setting was sent by a server, or a server-only setting by a client.

FrameError

Frame violated layout or size rules.

QpackDecompressionFailed

QPACK Header block decompression failure.

QpackEncoderStreamError

QPACK encoder stream error.

QpackDecoderStreamError

QPACK decoder stream error.

TransportError(Error)

Error originated from the transport layer.

Trait Implementations

impl Clone for Error[src]

impl PartialEq<Error> for Error[src]

impl From<Error> for Error[src]

impl Copy for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Auto Trait Implementations

impl Send for Error

impl Unpin for Error

impl Sync for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]