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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.