Struct quinn_proto::TransportError[][src]

pub struct TransportError(_);

Methods

impl Error
[src]

impl Error
[src]

NO_ERROR: Self = Error(0)

the connection is being closed abruptly in the absence of any error

INTERNAL_ERROR: Self = Error(1)

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

SERVER_BUSY: Self = Error(2)

the server is currently busy and does not accept any new connections

FLOW_CONTROL_ERROR: Self = Error(3)

an endpoint received more data than it permitted in its advertised data limits

STREAM_ID_ERROR: Self = Error(4)

an endpoint received a frame for a stream identifier that exceeded its advertised maximum stream ID

STREAM_STATE_ERROR: Self = Error(5)

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

FINAL_OFFSET_ERROR: Self = Error(6)

an endpoint received a STREAM frame containing data that exceeded the previously established final offset, or a RST_STREAM frame containing a final offset that was lower than the maximum offset of data that was already received, or a RST_STREAM frame containing a different final offset to the one already established

FRAME_FORMAT_ERROR: Self = Error(7)

an endpoint received a frame that was badly formatted. For instance, an empty STREAM frame that omitted the FIN flag, or an ACK frame that has more acknowledgment ranges than the remainder of the packet could carry

TRANSPORT_PARAMETER_ERROR: Self = Error(8)

an endpoint received transport parameters that were badly formatted, included an invalid value, was absent even though it is mandatory, was present though it is forbidden, or is otherwise in error

VERSION_NEGOTIATION_ERROR: Self = Error(9)

an endpoint received transport parameters that contained version negotiation parameters that disagreed with the version negotiation that it performed, constituting a potential version downgrade attack

PROTOCOL_VIOLATION: Self = Error(10)

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

UNSOLICITED_PATH_RESPONSE: Self = Error(11)

an endpoint received a PATH_RESPONSE frame that did not correspond to any PATH_CHALLENGE frame that it previously sent

TLS_HANDSHAKE_FAILED: Self = Error(513)

the TLS handshake failed

TLS_FATAL_ALERT_GENERATED: Self = Error(514)

a TLS fatal alert was sent, causing the TLS connection to end prematurely

TLS_FATAL_ALERT_RECEIVED: Self = Error(515)

a TLS fatal alert was received, causing the TLS connection to end prematurely

Trait Implementations

impl From<TransportError> for ConnectionError
[src]

Performs the conversion.

impl From<TransportError> for ConnectionClose
[src]

Performs the conversion.

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for u16
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations