Module specifications::address

source ·
Expand description

Defines the Address struct, which does something similar to the Url struct in the url crate, except that it’s much more lenient towards defining URL schemes or not. Moreover, it does not contain any paths.

Enums§

  • Defines a more lenient alternative to a SocketAddr that also accepts hostnames.
  • Errors that relate to parsing Addresses.
  • Alternative to an Address that has an optional port part.