pub fn encode_uri_component(s: impl AsRef<str>) -> String
Encode an URL component, such as a path segment.