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

pub enum Error {
    Done,
    BufferTooShort,
    InternalError,
    ExcessiveLoad,
    IdError,
    StreamCreationError,
    ClosedCriticalStream,
    MissingSettings,
    FrameUnexpected,
    FrameError,
    QpackDecompressionFailed,
    TransportError(Error),
    StreamBlocked,
}

An HTTP/3 error.

Variants

Done

There is no error or no work to do

BufferTooShort

The provided buffer is too short.

InternalError

Internal error in the HTTP/3 stack.

ExcessiveLoad

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

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.

MissingSettings

No SETTINGS frame at beginning of control stream.

FrameUnexpected

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

FrameError

Frame violated layout or size rules.

QpackDecompressionFailed

QPACK Header block decompression failure.

TransportError(Error)

Error originated from the transport layer.

StreamBlocked

The underlying QUIC stream (or connection) doesn't have enough capacity for the operation to complete. The application should retry later on.

Trait Implementations

impl Clone for Error[src]

impl Copy for Error[src]

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<Error> for Error[src]

impl PartialEq<Error> for Error[src]

impl StructuralPartialEq for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.