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>