pub struct TransportErrorCode(/* private fields */);
Expand description
Transport-level error code
Implementations§
Source§impl Code
impl Code
Sourcepub const INTERNAL_ERROR: Code
pub const INTERNAL_ERROR: Code
the endpoint encountered an internal error and cannot continue with the connection
Sourcepub const CONNECTION_REFUSED: Code
pub const CONNECTION_REFUSED: Code
the server refused to accept a new connection
Sourcepub const FLOW_CONTROL_ERROR: Code
pub const FLOW_CONTROL_ERROR: Code
received more data than permitted in advertised data limits
Sourcepub const STREAM_LIMIT_ERROR: Code
pub const STREAM_LIMIT_ERROR: Code
received a frame for a stream identifier that exceeded advertised the stream limit for the corresponding stream type
Sourcepub const STREAM_STATE_ERROR: Code
pub const STREAM_STATE_ERROR: Code
received a frame for a stream that was not in a state that permitted that frame
Sourcepub const FINAL_SIZE_ERROR: Code
pub const FINAL_SIZE_ERROR: Code
received a STREAM frame or a RESET_STREAM frame containing a different final size to the one already established
Sourcepub const FRAME_ENCODING_ERROR: Code
pub const FRAME_ENCODING_ERROR: Code
received a frame that was badly formatted
Sourcepub const TRANSPORT_PARAMETER_ERROR: Code
pub const TRANSPORT_PARAMETER_ERROR: Code
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
Sourcepub const CONNECTION_ID_LIMIT_ERROR: Code
pub const CONNECTION_ID_LIMIT_ERROR: Code
the number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit
Sourcepub const PROTOCOL_VIOLATION: Code
pub const PROTOCOL_VIOLATION: Code
detected an error with protocol compliance that was not covered by more specific error codes
Sourcepub const INVALID_TOKEN: Code
pub const INVALID_TOKEN: Code
received an invalid Retry Token in a client Initial
Sourcepub const APPLICATION_ERROR: Code
pub const APPLICATION_ERROR: Code
the application or application protocol caused the connection to be closed during the handshake
Sourcepub const CRYPTO_BUFFER_EXCEEDED: Code
pub const CRYPTO_BUFFER_EXCEEDED: Code
received more data in CRYPTO frames than can be buffered
Sourcepub const KEY_UPDATE_ERROR: Code
pub const KEY_UPDATE_ERROR: Code
key update error
Sourcepub const AEAD_LIMIT_REACHED: Code
pub const AEAD_LIMIT_REACHED: Code
the endpoint has reached the confidentiality or integrity limit for the AEAD algorithm
Sourcepub const NO_VIABLE_PATH: Code
pub const NO_VIABLE_PATH: Code
no viable network path exists