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