Expand description
Resource record data.
Each resource record type has it’s own definition of the content and formatting of its data. This module provides the basics for implementing specific types for this record data. The concrete implementations for well-known record types live in the top-level domain::rdata module.
There are three traits herein: Any type that represents record data
implements RecordData
. Such a type can be added to a message. If
the data can also be parsed from an existing message, the type in addition
implements ParseRecordData
. Because most types are implementations
for exactly one record type, the RtypeRecordData
trait simplifies
implementations for such types.
The module also provides a type, UnknownRecordData
, that can be used
to deal with record types whose specification is not known (or has not
been implemented yet).
Structs§
- The octets sequence to be used for record data is too long.
- A type for parsing any type of record data.
Traits§
- A type of record data that can be composed.
- A record data type that can be parsed from a message.
- A type that represents record data.