Enum native_tls::Protocol [−][src]
pub enum Protocol {
Sslv3,
Tlsv10,
Tlsv11,
Tlsv12,
// some variants omitted
}SSL/TLS protocol versions.
Variants
Sslv3The 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.
Tlsv10The TLS 1.0 protocol.
Tlsv11The TLS 1.1 protocol.
Tlsv12The TLS 1.2 protocol.
Trait Implementations
impl Debug for Protocol[src]
impl Debug for Protocolfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Protocol[src]
impl Copy for Protocolimpl Clone for Protocol[src]
impl Clone for Protocol