Skip to main content

path_segment

Function path_segment 

Source
fn path_segment(id: &str) -> Result<String, VaultError>
Expand description

Percent-encode one id for a path segment. An empty id is refused rather than sent as a route with a hole in it.