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]
const ALERT_FATAL: AlpnError
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.
const NOACK: AlpnError
NOACK: AlpnError = AlpnError(ffi::SSL_TLSEXT_ERR_NOACK)
Do not select a protocol, but continue the handshake.
Trait Implementations
impl Debug for AlpnError
[src]
impl Copy for AlpnError
[src]
impl Clone for AlpnError
[src]
fn clone(&self) -> AlpnError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for AlpnError
[src]
fn eq(&self, __arg_0: &AlpnError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AlpnError) -> bool
[src]
This method tests for !=
.