Struct quinn_proto::TransportErrorCode[][src]

pub struct TransportErrorCode(_);

Transport-level error code

Implementations

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 Clone for Code[src]

impl Copy for Code[src]

impl Debug for Code[src]

impl Display for Code[src]

impl Eq for Code[src]

impl From<Code> for Error[src]

impl PartialEq<Code> for Code[src]

impl StructuralEq for Code[src]

impl StructuralPartialEq for Code[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,