[][src]Struct openssl::ssl::SslVersion

pub struct SslVersion(_);

An SSL/TLS protocol version.


impl SslVersion[src]

pub const SSL3: SslVersion[src]


pub const TLS1: SslVersion[src]


pub const TLS1_1: SslVersion[src]


pub const TLS1_2: SslVersion[src]


pub const TLS1_3: SslVersion[src]


Requires OpenSSL 1.1.1 or newer.

Trait Implementations

impl Clone for SslVersion[src]

impl Copy for SslVersion[src]

impl Debug for SslVersion[src]

impl Eq for SslVersion[src]

impl PartialEq<SslVersion> for SslVersion[src]

impl StructuralEq for SslVersion[src]

impl StructuralPartialEq for SslVersion[src]

Auto Trait Implementations

impl RefUnwindSafe for SslVersion

impl Send for SslVersion

impl Sync for SslVersion

impl Unpin for SslVersion

impl UnwindSafe for SslVersion

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.