[−][src]Struct security_framework::secure_transport::SslProtocol
Specifies protocol versions.
Implementations
impl SslProtocol
[src]
pub const UNKNOWN: Self
[src]
No protocol has been or should be negotiated or specified; use the default.
pub const SSL3: Self
[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: Self
[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: Self
[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: Self
[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 TLS13: Self
[src]
The TLS 1.3 protocol is preferred, though lower versions may be used if the peer does not support TLS 1.3.
pub const SSL2: Self
[src]
Only the SSL 2.0 protocol is accepted.
pub const DTLS1: Self
[src]
The DTLSv1 protocol is preferred.
pub const SSL3_ONLY: Self
[src]
Only the SSL 3.0 protocol is accepted.
pub const TLS1_ONLY: Self
[src]
Only the TLS 1.0 protocol is accepted.
pub const ALL: Self
[src]
All supported TLS/SSL versions are accepted.
Trait Implementations
impl Clone for SslProtocol
[src]
fn clone(&self) -> SslProtocol
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SslProtocol
[src]
impl Debug for SslProtocol
[src]
impl Eq for SslProtocol
[src]
impl PartialEq<SslProtocol> for SslProtocol
[src]
fn eq(&self, other: &SslProtocol) -> bool
[src]
fn ne(&self, other: &SslProtocol) -> bool
[src]
impl StructuralEq for SslProtocol
[src]
impl StructuralPartialEq for SslProtocol
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,