Struct Version

struct Version(_)

A TLS protocol version.

Implementations

impl Version

impl Clone for Version

fn clone(self: &Self) -> Version

impl Copy for Version

impl Debug for Version

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

impl Eq for Version

impl Freeze for Version

impl Ord for Version

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

impl PartialEq for Version

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

impl PartialOrd for Version

fn partial_cmp(self: &Self, other: &Version) -> $crate::option::Option<$crate::cmp::Ordering>

impl RefUnwindSafe for Version

impl Send for Version

impl StructuralPartialEq for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

impl<Q, K> Comparable for Version

fn compare(self: &Self, key: &K) -> Ordering

impl<Q, K> Equivalent for Version

fn equivalent(self: &Self, key: &K) -> bool

impl<Q, K> Equivalent for Version

fn equivalent(self: &Self, key: &K) -> bool

impl<T> Any for Version

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Version

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Version

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Version

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> ErasedDestructor for Version

impl<T> From for Version

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Instrument for Version

impl<T> PolicyExt for Version

fn and<P, B, E>(self: Self, other: P) -> And<T, P>
where
    T: Policy<B, E>,
    P: Policy<B, E>
fn or<P, B, E>(self: Self, other: P) -> Or<T, P>
where
    T: Policy<B, E>,
    P: Policy<B, E>

impl<T> ToOwned for Version

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> WithSubscriber for Version

impl<T, U> Into for Version

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Version

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Version

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>