Struct tls_parser::TlsVersion [−][src]
pub struct TlsVersion(pub u16);
Expand description
TLS version
Only the TLS version defined in the TLS message header is meaningful, the version defined in the record should be ignored or set to TLS 1.0
Tuple Fields
0: u16
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TlsVersion
impl Send for TlsVersion
impl Sync for TlsVersion
impl Unpin for TlsVersion
impl UnwindSafe for TlsVersion
Blanket Implementations
Mutably borrows from an owned value. Read more