pub struct TransportErrorCode(/* private fields */);
Expand description
Transport-level error code
Implementations§
Source§impl Code
impl Code
Sourcepub const NO_ERROR: Self = _
pub const NO_ERROR: Self = _
the connection is being closed abruptly in the absence of any error
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
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)