Enum async_native_tls::Protocol [−][src]
pub enum Protocol {
Sslv3,
Tlsv10,
Tlsv11,
Tlsv12,
// some variants omitted
}
Expand description
SSL/TLS protocol versions.
Variants
The SSL 3.0 protocol.
Warning
SSL 3.0 has severe security flaws, and should not be used unless absolutely necessary. If you are not sure if you need to enable this protocol, you should not.
The TLS 1.0 protocol.
The TLS 1.1 protocol.
The TLS 1.2 protocol.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Protocol
impl UnwindSafe for Protocol
Blanket Implementations
Mutably borrows from an owned value. Read more