Module hostname

Module hostname 

Source
Expand description

Validated hostname type conforming to RFC 1035/1123.

Structs§

Hostname
A validated hostname.

Enums§

Error
Error type for hostname validation.

Constants§

MAX_HOSTNAME_LABEL_LEN
Maximum length of a single hostname label (63 characters per RFC 1035).
MAX_HOSTNAME_LEN
Maximum length of a hostname (253 characters per RFC 1035).