pub struct TransportErrorCode(_);
Expand description

Transport-level error code

Implementations

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

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

the server refused to accept a new connection

received more data than permitted in advertised data limits

received a frame for a stream identifier that exceeded advertised the stream limit for the corresponding stream type

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

received a STREAM frame or a RESET_STREAM frame containing a different final size to the one already established

received a frame that was badly formatted

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

the number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit

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

received an invalid Retry Token in a client Initial

the application or application protocol caused the connection to be closed during the handshake

received more data in CRYPTO frames than can be buffered

key update error

the endpoint has reached the confidentiality or integrity limit for the AEAD algorithm

no viable network path exists

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more