Error in quiche - Rust

pub enum Error {
Show 23 variants Done, BufferTooShort, UnknownVersion, InvalidFrame, InvalidPacket, InvalidState, InvalidStreamState(u64), InvalidTransportParam, CryptoFail, TlsFail, FlowControl, StreamLimit, StreamStopped(u64), StreamReset(u64), FinalSize, CongestionControl, IdLimit, OutOfIdentifiers, KeyUpdate, CryptoBufferExceeded, InvalidAckRange, OptimisticAckDetected, InvalidDcidInitialization,
}
Expand description

A QUIC error.

§

There is no more work to do.

§

The provided buffer is too short.

§

The provided packet cannot be parsed because its version is unknown.

§

The provided packet cannot be parsed because it contains an invalid frame.

§

The provided packet cannot be parsed.

§

The operation cannot be completed because the connection is in an invalid state.

§

The operation cannot be completed because the stream is in an invalid state.

The stream ID is provided as associated data.

§

The peer’s transport params cannot be parsed.

§

A cryptographic operation failed.

§

The TLS handshake failed.

§

The peer violated the local flow control limits.

§

The peer violated the local stream limits.

§

The specified stream was stopped by the peer.

The error code sent as part of the STOP_SENDING frame is provided as associated data.

§

The specified stream was reset by the peer.

The error code sent as part of the RESET_STREAM frame is provided as associated data.

§

The received data exceeds the stream’s final size.

§

Error in congestion control.

§

Too many identifiers were provided.

§

Not enough available identifiers.

§

Error in key update.

§

The peer sent more data in CRYPTO frames than we can buffer.

§

The peer sent an ACK frame with an invalid range.

§

The peer send an ACK frame for a skipped packet used for Optimistic ACK mitigation.

§

An invalid DCID was used when connecting to a remote peer.

Source§
Source§
Source§
Source§
Source§

Returns the lower-level source of this error, if any. Read more

1.0.0 · Source§

👎Deprecated since 1.42.0: use the Display impl or to_string()

1.0.0 · Source§

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting

Source§

🔬This is a nightly-only experimental API. (error_generic_member_access)

Provides type-based access to context intended for error reports. Read more

Source§
Source§

Converts to this type from the input type.

Source§
Source§

Converts to this type from the input type.

Source§
Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§
Source§
Source§

§
§
§
§
§
§
§