WireErrorCode

Enum WireErrorCode 

Source
pub enum WireErrorCode {
Show 17 variants NoError = 0, InternalError = 1, ConnectionRefused = 2, FlowControlError = 3, StreamLimitError = 4, StreamStateError = 5, FinalSizeError = 6, FrameEncodingError = 7, TransportParameterError = 8, ConnectionIdLimitError = 9, ProtocolViolation = 10, InvalidToken = 11, ApplicationError = 12, CryptoBufferExceeded = 13, KeyUpdateError = 14, AeadLimitReached = 15, NoViablePath = 16,
}
👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24
Expand description

QUIC error codes sent on the wire.

As defined in RFC9000.

Variants§

§

NoError = 0

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint uses this with CONNECTION_CLOSE to signal that the connection is being closed abruptly in the absence of any error.

§

InternalError = 1

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

The endpoint encountered an internal error and cannot continue with the connection.

§

ConnectionRefused = 2

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

The server refused to accept a new connection.

§

FlowControlError = 3

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received more data than it permitted in its advertised data limits; see Section 4.

§

StreamLimitError = 4

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received a frame for a stream identifier that exceeded its advertised stream limit for the corresponding stream type.

§

StreamStateError = 5

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received a frame for a stream that was not in a state that permitted that frame.

§

FinalSizeError = 6

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

(1) An endpoint received a STREAM frame containing data that exceeded the previously established final size, (2) an endpoint received a STREAM frame or a RESET_STREAM frame containing a final size that was lower than the size of stream data that was already received, or (3) an endpoint received a STREAM frame or a RESET_STREAM frame containing a different final size to the one already established.

§

FrameEncodingError = 7

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received a frame that was badly formatted – for instance, a frame of an unknown type or an ACK frame that has more acknowledgment ranges than the remainder of the packet could carry.

§

TransportParameterError = 8

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received transport parameters that were badly formatted, included an invalid value, omitted a mandatory transport parameter, included a forbidden transport parameter, or were otherwise in error.

§

ConnectionIdLimitError = 9

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint received transport parameters that were badly formatted, included an invalid value, omitted a mandatory transport parameter, included a forbidden transport parameter, or were otherwise in error.

§

ProtocolViolation = 10

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint detected an error with protocol compliance that was not covered by more specific error codes.

§

InvalidToken = 11

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

A server received a client Initial that contained an invalid Token field.

§

ApplicationError = 12

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

The application or application protocol caused the connection to be closed.

§

CryptoBufferExceeded = 13

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint has received more data in CRYPTO frames than it can buffer.

§

KeyUpdateError = 14

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint detected errors in performing key updates.

§

AeadLimitReached = 15

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint has reached the confidentiality or integrity limit for the AEAD algorithm used by the given connection.

§

NoViablePath = 16

👎Deprecated: quiche-mallard has been merged into upstream quiche 0.24

An endpoint has determined that the network path is incapable of supporting QUIC. An endpoint is unlikely to receive a CONNECTION_CLOSE frame carrying this code except when the path does not support a large enough MTU.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.