decode_percent

Function decode_percent 

Source
pub fn decode_percent(value: &str) -> Result<String, Error>
Expand description

Decode percent-escapes in a URI component.

Parsed ChannelParams borrow raw slices from the URI; this turns one into displayable text. An escape that is truncated or not valid hex is preserved verbatim rather than rejected, and invalid UTF-8 is reported.