Struct security_framework::os::macos::keychain::KeychainSettings
[−]
[src]
pub struct KeychainSettings(_);
Settings associated with a SecKeychain
.
Methods
impl KeychainSettings
[src]
fn new() -> KeychainSettings
Creates a new KeychainSettings
with default settings.
fn set_lock_on_sleep(&mut self, lock_on_sleep: bool)
If set, the keychain will automatically lock when the computer sleeps.
Defaults to false
.
fn set_lock_interval(&mut self, lock_interval: Option<u32>)
Sets the interval of time in seconds after which the keychain is automatically locked.
Defaults to None
.