fractal::secret::linux

Function get_attribute

Source
fn get_attribute<'a>(
    attributes: &'a HashMap<String, String>,
    key: &'static str,
) -> Result<&'a String, LinuxSecretFieldError>
Expand description

Get the attribute with the given key in the given map.