fn from(keychain: &str) -> Self {
        match keychain.to_ascii_lowercase().as_str() {
            "system" => MacKeychainDomain::System,
            "common" => MacKeychainDomain::Common,
            "dynamic" => MacKeychainDomain::Dynamic,
            _ => MacKeychainDomain::User,
        }
    }
/// Target specifications are strings, but on Mac we map them
/// to keychoin domains.  We accept any case in the string,
/// but the value has to match a known keychain domain name
/// or else we assume the login keychain is meant.
Target specifications are strings, but on Mac we map them
to keychoin domains.  We accept any case in the string,
but the value has to match a known keychain domain name
or else we assume the login keychain is meant.
Target specifications are strings but on Mac we map them to keychoin domains . We accept any case in the string but the value has to match a known keychain domain name or else we assume the login keychain is meant .
fn from(keychain: &str) -> Self {
        match keychain.to_ascii_lowercase().as_str() {
            "system" => MacKeychainDomain::System,
            "common" => MacKeychainDomain::Common,
            "dynamic" => MacKeychainDomain::Dynamic,
            _ => MacKeychainDomain::User,
        }
    }
fn from ( keychain : & str ) -> Self { match keychain . to_ascii_lowercase ( ) . as_str ( ) { " " => MacKeychainDomain :: System , " " => MacKeychainDomain :: Common , " " => MacKeychainDomain :: Dynamic , _ => MacKeychainDomain :: User , } }
Target specifications are strings, but on Mac we map them
to keychoin domains.
Target specifications are strings but on Mac we map them to keychoin domains .
keychain
&str