Struct quinn_proto::TransportErrorCode
source · [−]pub struct TransportErrorCode(_);
Expand description
Transport-level error code
Implementations
sourceimpl 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 StructuralEq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more