Skip to main content

safe_key

Function safe_key 

Source
pub fn safe_key(value: &str) -> String
Expand description

Sanitize a value for use as a storage-key component.

This is the module-level counterpart to KeyBuilder::safe, intended for callers that do not need to retain a key builder value.