#[repr(transparent)]pub struct SSLProtocol(pub c_int);
Available on crate feature
SecProtocolTypes
only.Expand description
Enumerations for the set of supported TLS and DTLS protocol versions.
Note: This enumeration is deprecated. Use tls_protocol_version_t
instead.
See also Apple’s documentation
Tuple Fields§
§0: c_int
Implementations§
Source§impl SSLProtocol
impl SSLProtocol
pub const SSLProtocolUnknown: Self
👎Deprecated
pub const TLSProtocol1: Self
👎Deprecated
pub const TLSProtocol11: Self
👎Deprecated
pub const TLSProtocol12: Self
👎Deprecated
pub const DTLSProtocol1: Self
👎Deprecated
pub const TLSProtocol13: Self
👎Deprecated
pub const DTLSProtocol12: Self
👎Deprecated
pub const TLSProtocolMaxSupported: Self
👎Deprecated
pub const SSLProtocol2: Self
👎Deprecated
pub const SSLProtocol3: Self
👎Deprecated
pub const SSLProtocol3Only: Self
👎Deprecated
pub const TLSProtocol1Only: Self
👎Deprecated
pub const SSLProtocolAll: Self
👎Deprecated
Trait Implementations§
Source§impl Clone for SSLProtocol
impl Clone for SSLProtocol
Source§fn clone(&self) -> SSLProtocol
fn clone(&self) -> SSLProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SSLProtocol
impl Debug for SSLProtocol
Source§impl Encode for SSLProtocol
Available on crate feature objc2
only.
impl Encode for SSLProtocol
Available on crate feature
objc2
only.Source§impl Hash for SSLProtocol
impl Hash for SSLProtocol
Source§impl Ord for SSLProtocol
impl Ord for SSLProtocol
Source§fn cmp(&self, other: &SSLProtocol) -> Ordering
fn cmp(&self, other: &SSLProtocol) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SSLProtocol
impl PartialEq for SSLProtocol
Source§impl PartialOrd for SSLProtocol
impl PartialOrd for SSLProtocol
Source§impl RefEncode for SSLProtocol
Available on crate feature objc2
only.
impl RefEncode for SSLProtocol
Available on crate feature
objc2
only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SSLProtocol
impl Eq for SSLProtocol
impl StructuralPartialEq for SSLProtocol
Auto Trait Implementations§
impl Freeze for SSLProtocol
impl RefUnwindSafe for SSLProtocol
impl Send for SSLProtocol
impl Sync for SSLProtocol
impl Unpin for SSLProtocol
impl UnwindSafe for SSLProtocol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.