#[repr(transparent)]pub struct SecProtocolType(pub u32);
Available on crate feature
SecKeychain
only.Expand description
Defines the protocol type associated with an AppleShare or Internet password.
See also Apple’s documentation
Tuple Fields§
§0: u32
Implementations§
Source§impl SecProtocolType
impl SecProtocolType
pub const FTP: Self
pub const FTPAccount: Self
pub const HTTP: Self
pub const IRC: Self
pub const NNTP: Self
pub const POP3: Self
pub const SMTP: Self
pub const SOCKS: Self
pub const IMAP: Self
pub const LDAP: Self
pub const AppleTalk: Self
pub const AFP: Self
pub const Telnet: Self
pub const SSH: Self
pub const FTPS: Self
pub const HTTPS: Self
pub const HTTPProxy: Self
pub const HTTPSProxy: Self
pub const FTPProxy: Self
pub const CIFS: Self
pub const SMB: Self
pub const RTSP: Self
pub const RTSPProxy: Self
pub const DAAP: Self
pub const EPPC: Self
pub const IPP: Self
pub const NNTPS: Self
pub const LDAPS: Self
pub const TelnetS: Self
pub const IMAPS: Self
pub const IRCS: Self
pub const POP3S: Self
pub const CVSpserver: Self
pub const SVN: Self
pub const Any: Self
Trait Implementations§
Source§impl Clone for SecProtocolType
impl Clone for SecProtocolType
Source§fn clone(&self) -> SecProtocolType
fn clone(&self) -> SecProtocolType
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 SecProtocolType
impl Debug for SecProtocolType
Source§impl Encode for SecProtocolType
Available on crate feature objc2
only.
impl Encode for SecProtocolType
Available on crate feature
objc2
only.Source§impl Hash for SecProtocolType
impl Hash for SecProtocolType
Source§impl Ord for SecProtocolType
impl Ord for SecProtocolType
Source§fn cmp(&self, other: &SecProtocolType) -> Ordering
fn cmp(&self, other: &SecProtocolType) -> 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 SecProtocolType
impl PartialEq for SecProtocolType
Source§impl PartialOrd for SecProtocolType
impl PartialOrd for SecProtocolType
Source§impl RefEncode for SecProtocolType
Available on crate feature objc2
only.
impl RefEncode for SecProtocolType
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 SecProtocolType
impl Eq for SecProtocolType
impl StructuralPartialEq for SecProtocolType
Auto Trait Implementations§
impl Freeze for SecProtocolType
impl RefUnwindSafe for SecProtocolType
impl Send for SecProtocolType
impl Sync for SecProtocolType
impl Unpin for SecProtocolType
impl UnwindSafe for SecProtocolType
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.