Skip to main content

default_store

Function default_store 

Source
pub fn default_store() -> Option<Box<dyn KeyStore>>
Expand description

The key store this build uses, if it has one: in a dev-hooks build, the directory MNEMO_DEV_KEYSTORE names when it’s set; otherwise the OS keychain when the keychain feature is on (macOS, Windows, Linux). None otherwise. Making one asks nothing of the store: whether it can be used shows at the first lookup, or through KeyStore::check_available.