Expand description
A URI which supports IPv4, IPv6, domain names, and segmented Paths.
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
AddressandPathBuf - 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
LinkorPathwhich can be parsed as a URL.
Functions§
- label
- Return a
Labelwith the given staticstr. - path_
label - Return a
PathLabelwith the given segments.
Type Aliases§
- Path
Segment - A segment of a
Path - Port
- A port number