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

pub struct AlpnError(_);

An error returned from an ALPN selection callback.

Requires OpenSSL 1.0.2, 1.1.0, or 1.1.1 and the corresponding Cargo feature.

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 1.1.1 and the corresponding Cargo feature.

NOACK: AlpnError = AlpnError(ffi::SSL_TLSEXT_ERR_NOACK)

Do not select a protocol, but continue the handshake.

Trait Implementations

impl Debug for AlpnError
[src]

[src]

Formats the value using the given formatter.

impl Copy for AlpnError
[src]

impl Clone for AlpnError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for AlpnError
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for AlpnError
[src]