Skip to main content

safe_string

Function safe_string 

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

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