from_string


Description:

[ Version ( since = "0.9.7" ) ]
public static KeyringKind from_string (string keyring_kind)

Converts an printable string to an enumerated type.

Parameters:

keyring_kind

a string, e.g. `gpg`

Returns:

a KeyringKind, e.g. fwupd_keyring_kind_gpg