Struct openssl::ssl::AlpnError[][src]

pub struct AlpnError(_);

An error returned from an ALPN selection callback.

Requires OpenSSL 1.0.2 or LibreSSL 2.6.1 or newer.

Methods

impl AlpnError
[src]

ALERT_FATAL: AlpnError = AlpnError(ffi::SSL_TLSEXT_ERR_ALERT_FATAL)

Terminate the handshake with a fatal alert.

Requires OpenSSL 1.1.0 or newer.

NOACK: AlpnError = AlpnError(ffi::SSL_TLSEXT_ERR_NOACK)

Do not select a protocol, but continue the handshake.

Trait Implementations

impl Debug for AlpnError
[src]

Formats the value using the given formatter. Read more

impl Copy for AlpnError
[src]

impl Clone for AlpnError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for AlpnError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for AlpnError
[src]

Auto Trait Implementations

impl Send for AlpnError

impl Sync for AlpnError