Struct quinn_proto::TransportErrorCode [−][src]
pub struct TransportErrorCode(_);
Transport-level error code
Implementations
impl Code[src]
impl Code[src]pub const NO_ERROR: Self[src]
the connection is being closed abruptly in the absence of any error
pub const INTERNAL_ERROR: Self[src]
the endpoint encountered an internal error and cannot continue with the connection
pub const CONNECTION_REFUSED: Self[src]
the server refused to accept a new connection
pub const FLOW_CONTROL_ERROR: Self[src]
received more data than permitted in advertised data limits
pub const STREAM_LIMIT_ERROR: Self[src]
received a frame for a stream identifier that exceeded advertised the stream limit for the corresponding stream type
pub const STREAM_STATE_ERROR: Self[src]
received a frame for a stream that was not in a state that permitted that frame
pub const FINAL_SIZE_ERROR: Self[src]
received a STREAM frame or a RESET_STREAM frame containing a different final size to the one already established
pub const FRAME_ENCODING_ERROR: Self[src]
received a frame that was badly formatted
pub const TRANSPORT_PARAMETER_ERROR: Self[src]
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
pub const CONNECTION_ID_LIMIT_ERROR: Self[src]
the number of connection IDs provided by the peer exceeds the advertised active_connection_id_limit
pub const PROTOCOL_VIOLATION: Self[src]
detected an error with protocol compliance that was not covered by more specific error codes
pub const INVALID_TOKEN: Self[src]
received an invalid Retry Token in a client Initial
pub const APPLICATION_ERROR: Self[src]
the application or application protocol caused the connection to be closed during the handshake
pub const CRYPTO_BUFFER_EXCEEDED: Self[src]
received more data in CRYPTO frames than can be buffered
pub const KEY_UPDATE_ERROR: Self[src]
key update error
pub const AEAD_LIMIT_REACHED: Self[src]
the endpoint has reached the confidentiality or integrity limit for the AEAD algorithm
Trait Implementations
impl StructuralEq for Code[src]
impl StructuralEq for Code[src]impl StructuralPartialEq for Code[src]
impl StructuralPartialEq for Code[src]Auto Trait Implementations
impl RefUnwindSafe for Code
impl RefUnwindSafe for Codeimpl UnwindSafe for Code
impl UnwindSafe for CodeBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,