Enum quicr_core::ConnectionError[][src]

pub enum ConnectionError {
    VersionMismatch,
    TransportError {
        error_code: TransportError,
    },
    ConnectionClosed {
        reason: ConnectionClose,
    },
    ApplicationClosed {
        reason: ApplicationClose,
    },
    Reset,
    TimedOut,
}

Reasons why a connection might be lost.

Variants

The peer doesn't implement any supported version.

The peer violated the QUIC specification as understood by this implementation.

Fields of TransportError

The peer's QUIC stack aborted the connection automatically.

Fields of ConnectionClosed

The peer closed the connection.

Fields of ApplicationClosed

The peer is unable to continue processing this connection, usually due to having restarted.

The peer has become unreachable.

Trait Implementations

impl Debug for ConnectionError
[src]

Formats the value using the given formatter. Read more

impl Clone for ConnectionError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<TransportError> for ConnectionError
[src]

Performs the conversion.

impl From<ConnectionError> for Error
[src]

Performs the conversion.

Auto Trait Implementations