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 AlpnErrorpub 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 AlpnErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for AlpnError[src]
impl Copy for AlpnErrorimpl Clone for AlpnError[src]
impl Clone for AlpnErrorfn clone(&self) -> AlpnError[src]
fn clone(&self) -> AlpnErrorReturns 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 AlpnErrorfn eq(&self, other: &AlpnError) -> bool[src]
fn eq(&self, other: &AlpnError) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for AlpnError[src]
impl Eq for AlpnError