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

pub struct SslVersion(_);

An SSL/TLS protocol version.

Methods

impl SslVersion[src]

pub const SSL3: SslVersion[src]

SSLv3

pub const TLS1: SslVersion[src]

TLSv1.0

pub const TLS1_1: SslVersion[src]

TLSv1.1

pub const TLS1_2: SslVersion[src]

TLSv1.2

pub const TLS1_3: SslVersion[src]

TLSv1.3

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
[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.