Expand description
A URI which supports IPv4, IPv6, domain names, and segmented Path
s.
Structs§
- Host
- The host component of a
Link
(e.g. “http://127.0.0.1:8702”) - Id
- A human-readable ID
- Ipv4
Addr - An IPv4 address.
- Ipv6
Addr - An IPv6 address.
- Label
- A static label which implements
Into<Id>
. - Link
- An HTTP Link with an optional
Address
andPathBuf
- Parse
Error - An error encountered while parsing an
Id
. - Path
- A segmented link safe to use with a filesystem or via HTTP.
- PathBuf
- A segmented link buffer safe to use with a filesystem or via HTTP.
- Path
Label - A constant representing a
PathBuf
.
Enums§
- Address
- A network address
- IpAddr
- An IP address, either IPv4 or IPv6.
- Protocol
- The protocol portion of a
Link
(e.g. “http”) - ToUrl
- An owned or borrowed
Link
orPath
which can be parsed as a URL.
Functions§
- label
- Return a
Label
with the given staticstr
. - path_
label - Return a
PathLabel
with the given segments.
Type Aliases§
- Path
Segment - A segment of a
Path
- Port
- A port number