Enum security_framework::item::Location
source · pub enum Location {
DefaultFileKeychain,
FileKeychain(SecKeychain),
}
Expand description
Which keychain to add an item to.
https://developer.apple.com/documentation/technotes/tn3137-on-mac-keychains
Variants§
DefaultFileKeychain
Store the key in the default file-based keychain. On macOS, defaults to the Login keychain.
FileKeychain(SecKeychain)
Store the key in a specific file-based keychain.
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
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