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]
impl AlpnError
pub 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 newer.
pub 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 Debug for AlpnError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for AlpnError
[src]
impl Copy for AlpnError
impl Clone for AlpnError
[src]
impl Clone for AlpnError
fn clone(&self) -> AlpnError
[src]
fn clone(&self) -> AlpnError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for AlpnError
[src]
impl PartialEq for AlpnError
fn eq(&self, other: &AlpnError) -> bool
[src]
fn eq(&self, other: &AlpnError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AlpnError) -> bool
[src]
fn ne(&self, other: &AlpnError) -> bool
This method tests for !=
.
impl Eq for AlpnError
[src]
impl Eq for AlpnError