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.

Implementations

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 Clone for AlpnError[src]

impl Copy for AlpnError[src]

impl Debug for AlpnError[src]

impl Eq for AlpnError[src]

impl PartialEq<AlpnError> for AlpnError[src]

impl StructuralEq for AlpnError[src]

impl StructuralPartialEq for AlpnError[src]

Auto Trait Implementations

impl RefUnwindSafe for AlpnError

impl Send for AlpnError

impl Sync for AlpnError

impl Unpin for AlpnError

impl UnwindSafe for AlpnError

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.