Module domain
Available on crate feature
net only.Structs§
- Domain
- A domain.
- Domain
Builder - Builder for a
Domain. - Domain
Label Iter - Iterator over the labels of a
Domain. - Domain
Parse Error - Error returned when parsing a string or byte sequence into a
Domainfails. - Label
- A single DNS label in presentation format.
- Label
Error - Error returned by
Label::from_str. - Push
Error - Error returned by
DomainBuilderwhen a push would violate theDomaininvariant. - Suffix
Iter - Iterator returned by
DomainLabels::suffix_iter.
Constants§
- MAX_
NAME_ LEN - Maximum byte length of a fully-qualified domain name (RFC 1035).
Traits§
- AsDomain
Ref - A trait which is used by the
rama-netcrate for places where we wish to have access to a reference to a Domain, directly or indirectly, for non-move purposes. - Domain
Labels - A label-aware view over a domain-like type.
- Into
Domain - A trait which can be use by crates where a Domain is expected, it can however only be implemented by the rama-net rate.