Struct security_framework::secure_transport::SslProtocol [−][src]
pub struct SslProtocol(_);
Expand description
Specifies protocol versions.
Implementations
impl SslProtocol
[src]
impl SslProtocol
[src]pub const UNKNOWN: 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]
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]
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]
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]
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]
pub const SSL2: SslProtocol
[src]Only the SSL 2.0 protocol is accepted.
pub const DTLS1: SslProtocol
[src]
pub const DTLS1: SslProtocol
[src]The DTLSv1 protocol is preferred.
pub const SSL3_ONLY: SslProtocol
[src]
pub const SSL3_ONLY: SslProtocol
[src]Only the SSL 3.0 protocol is accepted.
pub const TLS1_ONLY: SslProtocol
[src]
pub const TLS1_ONLY: SslProtocol
[src]Only the TLS 1.0 protocol is accepted.
pub const ALL: SslProtocol
[src]
pub const ALL: SslProtocol
[src]All supported TLS/SSL versions are accepted.
Trait Implementations
impl Clone for SslProtocol
[src]
impl Clone for SslProtocol
[src]fn clone(&self) -> SslProtocol
[src]
fn clone(&self) -> SslProtocol
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SslProtocol
[src]
impl Debug for SslProtocol
[src]impl PartialEq<SslProtocol> for SslProtocol
[src]
impl PartialEq<SslProtocol> for SslProtocol
[src]fn eq(&self, other: &SslProtocol) -> bool
[src]
fn eq(&self, other: &SslProtocol) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SslProtocol) -> bool
[src]
fn ne(&self, other: &SslProtocol) -> bool
[src]This method tests for !=
.
impl Copy for SslProtocol
[src]
impl Eq for SslProtocol
[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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more