Struct quinn_proto::TransportErrorCode
source · 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
)