pub enum Reference {
Identity(SecIdentity),
Certificate(SecCertificate),
Key(SecKey),
KeychainItem(SecKeychainItem),
// some variants omitted
}
Expand description
An enum including all objects whose references can be returned from a search.
Note that generic Keychain Items, such as passwords and preferences, do
not have specific object types; they are modeled using dictionaries and so
are available directly as search results in variant SearchResult::Dict
.
Variants§
Identity(SecIdentity)
A SecIdentity
.
Certificate(SecCertificate)
A SecCertificate
.
Key(SecKey)
A SecKey
.
KeychainItem(SecKeychainItem)
A SecKeychainItem
.
Only defined on OSX
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reference
impl RefUnwindSafe for Reference
impl Send for Reference
impl Sync for Reference
impl Unpin for Reference
impl UnwindSafe for Reference
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