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

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]

pub const ALERT_FATAL: AlpnError[src]

Terminate the handshake with a fatal alert.

Requires OpenSSL 1.1.0 or newer.

pub const NOACK: AlpnError[src]

Do not select a protocol, but continue the handshake.

Trait Implementations

impl Eq for AlpnError[src]

impl Clone for AlpnError[src]

impl PartialEq<AlpnError> for AlpnError[src]

impl Copy for AlpnError[src]

impl Debug for AlpnError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]