Module url::parser

source ·

Macros

Structs

Enums

Errors that can occur during parsing.
Non-fatal syntax violations that can occur during parsing.

Constants

FRAGMENT 🔒
https://url.spec.whatwg.org/#fragment-percent-encode-set
PATH 🔒
https://url.spec.whatwg.org/#path-percent-encode-set
QUERY 🔒
USERINFO 🔒
https://url.spec.whatwg.org/#userinfo-percent-encode-set

Traits

Functions

https://url.spec.whatwg.org/#ascii-alpha
https://infra.spec.whatwg.org/#ascii-tab-or-newline
https://url.spec.whatwg.org/#c0-controls-and-space
Whether the scheme is file:, the path has a single segment, and that segment is a Windows drive letter
Whether path starts with a root slash and a windows drive letter eg: “/c:” or “/a:/”
https://url.spec.whatwg.org/#start-with-a-windows-drive-letter

Type Definitions