Module url::percent_encoding [] [src]

Structs

DEFAULT_ENCODE_SET

This encode set is used for path components.

PATH_SEGMENT_ENCODE_SET

This encode set is used for on '/'-separated path segment

PercentDecode

The return type of percent_decode().

PercentEncode

The return type of percent_decode().

QUERY_ENCODE_SET

This encode set is used in the URL parser for query strings.

SIMPLE_ENCODE_SET

This encode set is used for the path of cannot-be-a-base URLs.

USERINFO_ENCODE_SET

This encode set is used for username and password.

Traits

EncodeSet

Represents a set of characters / bytes that should be percent-encoded.

Functions

percent_decode

Percent-decode the given bytes.

percent_encode

Percent-encode the given bytes with the given encode set.

percent_encode_byte

Return the percent-encoding of the given bytes.

utf8_percent_encode

Percent-encode the UTF-8 encoding of the given string.