Struct security_framework::secure_transport::SslProtocol
source · [−]pub struct SslProtocol(_);
Expand description
Specifies protocol versions.
Implementations
No protocol has been or should be negotiated or specified; use the default.
The SSL 3.0 protocol is preferred, though SSL 2.0 may be used if the peer does not support SSL 3.0.
The TLS 1.0 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.0.
The TLS 1.1 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.1.
The TLS 1.2 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.2.
The TLS 1.3 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.3.
Trait Implementations
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 SslProtocol
impl Send for SslProtocol
impl Sync for SslProtocol
impl Unpin for SslProtocol
impl UnwindSafe for SslProtocol
Blanket Implementations
Mutably borrows from an owned value. Read more