pub struct TLSVersion(/* private fields */);
Expand description
TLS version for crate::remote::Client
.
Implementations§
Source§impl TLSVersion
impl TLSVersion
pub const TLS_1_2: TLSVersion = _
pub const TLS_1_3: TLSVersion = _
Trait Implementations§
Source§impl Clone for TLSVersion
impl Clone for TLSVersion
Source§fn clone(&self) -> TLSVersion
fn clone(&self) -> TLSVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TLSVersion
impl Debug for TLSVersion
Source§impl From<TLSVersion> for Version
Available on crate feature __tls
only.
impl From<TLSVersion> for Version
Available on crate feature
__tls
only.Source§fn from(ver: TLSVersion) -> Version
fn from(ver: TLSVersion) -> Version
Converts to this type from the input type.
Source§impl Ord for TLSVersion
impl Ord for TLSVersion
Source§fn cmp(&self, other: &TLSVersion) -> Ordering
fn cmp(&self, other: &TLSVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TLSVersion
impl PartialEq for TLSVersion
Source§impl PartialOrd for TLSVersion
impl PartialOrd for TLSVersion
impl Copy for TLSVersion
impl Eq for TLSVersion
impl StructuralPartialEq for TLSVersion
Auto Trait Implementations§
impl Freeze for TLSVersion
impl RefUnwindSafe for TLSVersion
impl Send for TLSVersion
impl Sync for TLSVersion
impl Unpin for TLSVersion
impl UnwindSafe for TLSVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.