Struct Version

pub struct Version(/* private field */);

A TLS protocol version.

Implementations

impl Version

const TLS_1_0: Version = _;

Version 1.0 of the TLS protocol.

const TLS_1_1: Version = _;

Version 1.1 of the TLS protocol.

const TLS_1_2: Version = _;

Version 1.2 of the TLS protocol.

const TLS_1_3: Version = _;

Version 1.3 of the TLS protocol.

Trait Implementations

impl Clone for Version

fn clone(&self) -> Self

impl Copy for Version

impl Debug for Version

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for Version

impl Ord for Version

fn cmp(&self, other: &Self) -> Ordering

impl PartialEq for Version

fn eq(&self, other: &Self) -> bool

impl PartialOrd for Version

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

impl StructuralPartialEq for Version

Auto Trait Implementations

impl Freeze for Version

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnsafeUnpin for Version

impl UnwindSafe for Version

Blanket Implementations

impl<Q, K> Comparable<K> for Version where Q: Ord + ?Sized, K: Borrow<Q> + ?Sized,

impl<Q, K> Equivalent<K> for Version where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

impl<Q, K> Equivalent<K> for Version where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

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

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

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

impl<T> CloneToUninit for Version where T: Clone,

impl<T> From<T> for Version

impl<T> Instrument for Version

impl<T> PolicyExt for Version where T: ?Sized,

impl<T> ToOwned for Version where T: Clone,

impl<T> WithSubscriber for Version

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

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

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