Enum rustls::ProtocolVersion [−][src]
pub enum ProtocolVersion { SSLv2, SSLv3, TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3, Unknown(u16), }
The ProtocolVersion
TLS protocol enum. Values in this enum are taken
from the various RFCs covering TLS, and are listed by IANA.
The Unknown
item is used when processing unrecognised ordinals.
Variants
Unknown(u16)
Implementations
Trait Implementations
impl Clone for ProtocolVersion
[src]
impl Clone for ProtocolVersion
[src]fn clone(&self) -> ProtocolVersion
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Codec for ProtocolVersion
[src]
impl Codec for ProtocolVersion
[src]impl PartialEq<ProtocolVersion> for ProtocolVersion
[src]
impl PartialEq<ProtocolVersion> for ProtocolVersion
[src]