[−][src]Struct security_framework::secure_transport::SslProtocol
Specifies protocol versions.
Methods
impl SslProtocol
[src]
pub const UNKNOWN: SslProtocol
[src]
No protocol has been or should be negotiated or specified; use the default.
pub const SSL3: SslProtocol
[src]
The SSL 3.0 protocol is preferred, though SSL 2.0 may be used if the peer does not support SSL 3.0.
pub const TLS1: SslProtocol
[src]
The TLS 1.0 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.0.
pub const TLS11: SslProtocol
[src]
The TLS 1.1 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.1.
pub const TLS12: SslProtocol
[src]
The TLS 1.2 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.2.
pub const SSL2: SslProtocol
[src]
Only the SSL 2.0 protocol is accepted.
pub const DTLS1: SslProtocol
[src]
The DTLSv1 protocol is preferred.
pub const SSL3_ONLY: SslProtocol
[src]
Only the SSL 3.0 protocol is accepted.
pub const TLS1_ONLY: SslProtocol
[src]
Only the TLS 1.0 protocol is accepted.
pub const ALL: SslProtocol
[src]
All supported TLS/SSL versions are accepted.
Trait Implementations
impl Eq for SslProtocol
[src]
impl Copy for SslProtocol
[src]
impl PartialEq<SslProtocol> for SslProtocol
[src]
fn eq(&self, other: &SslProtocol) -> bool
[src]
fn ne(&self, other: &SslProtocol) -> bool
[src]
impl Clone for SslProtocol
[src]
fn clone(&self) -> SslProtocol
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SslProtocol
[src]
Auto Trait Implementations
impl Send for SslProtocol
impl Sync for SslProtocol
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,