fn parse_attribute<F, V, E>(
attributes: &HashMap<String, String>,
key: &'static str,
parse: F,
) -> Result<V, LinuxSecretFieldError>
Expand description
Parse the attribute with the given key, using the given parsing function in the given map.