Skip to main content

Module domain

Module domain 

Available on crate feature net only.

Structs§

Domain
A domain.
DomainBuilder
Builder for a Domain.
DomainLabelIter
Iterator over the labels of a Domain.
DomainParseError
Error returned when parsing a string or byte sequence into a Domain fails.
Label
A single DNS label in presentation format.
LabelError
Error returned by Label::from_str.
PushError
Error returned by DomainBuilder when a push would violate the Domain invariant.
SuffixIter
Iterator returned by DomainLabels::suffix_iter.

Constants§

MAX_NAME_LEN
Maximum byte length of a fully-qualified domain name (RFC 1035).

Traits§

AsDomainRef
A trait which is used by the rama-net crate for places where we wish to have access to a reference to a Domain, directly or indirectly, for non-move purposes.
DomainLabels
A label-aware view over a domain-like type.
IntoDomain
A trait which can be use by crates where a Domain is expected, it can however only be implemented by the rama-net rate.