format_channel_name_uri

Function format_channel_name_uri 

Source
pub fn format_channel_name_uri(
    name: &str,
    buf: &mut [u8],
) -> Result<usize, Error>
Expand description

Format a named-channel URI.

The name is percent-encoded, so a name containing a space or other non-unreserved character still yields a parseable URI. Parsers recover the original with decode_percent before canonicalizing it.