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 Freeze for Location
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