Function libblkid_rs::safe_string[][src]

pub fn safe_string(string: &str) -> Result<String>
Expand description

Generate a safe string that allows ascii, hex-escaping, and utf8. Whitespaces become _.