[−][src]Module domain::rdata
Record Data of Well-defined Record Types
This module will eventually contain implementations for the record data of all defined resource record types.
The types are named identically to the base::iana::Rtype
variant they
implement. They are grouped into submodules for the RFCs they are defined
in. All types are also re-exported at the top level here. Ie., for the
AAAA record type, you can simple use domain::rdata::Aaaa
instead of
use domain::rdata::rfc3596::Aaaa
which nobody could possibly
remember. There are, however, some helper data types defined here and
there which are not re-exported to keep things somewhat tidy.
See the [iana::Rtype
] enum for the complete set of record types and,
consequently, those types that are still missing.
In additiona, the module provides two enums combining the known types.
AllRecordData
indeed contains all record data types known plus
[UnknownRecordData
] for the rest, while MasterRecordData
only
contains those types that can appear in master files plus, again,
[UnknownRecordData
] for everything else.
Re-exports
pub use self::rfc1035::A; |
pub use self::rfc1035::Cname; |
pub use self::rfc1035::Hinfo; |
pub use self::rfc1035::Mb; |
pub use self::rfc1035::Md; |
pub use self::rfc1035::Mf; |
pub use self::rfc1035::Minfo; |
pub use self::rfc1035::Mr; |
pub use self::rfc1035::Mx; |
pub use self::rfc1035::Ns; |
pub use self::rfc1035::Ptr; |
pub use self::rfc1035::Soa; |
pub use self::rfc1035::Txt; |
pub use self::rfc1035::Null; |
pub use self::rfc2782::Srv; |
pub use self::rfc2845::Tsig; |
pub use self::rfc3596::Aaaa; |
pub use self::rfc4034::Dnskey; |
pub use self::rfc4034::Rrsig; |
pub use self::rfc4034::Nsec; |
pub use self::rfc4034::Ds; |
pub use self::rfc6672::Dname; |
pub use self::rfc5155::Nsec3; |
pub use self::rfc5155::Nsec3param; |
pub use self::rfc7344::Cdnskey; |
pub use self::rfc7344::Cds; |
Modules
rfc1035 | Record data from RFC 1035: initial record types. |
rfc2782 | Record data from RFC 2782: SRV records. |
rfc2845 | Record data from RFC 2845: TSIG records. |
rfc3596 | Record data from RFC 3596: AAAA records. |
rfc4034 | Record data from RFC 4034: DS, DNSKEY, RRSIG, and NSEC records. |
rfc5155 | Record data from RFC 5155: NSEC3 and NSEC3PARAM records. |
rfc6672 | |
rfc7344 | Record data from RFC 7344: CDS and CDNSKEY records. |
Enums
AllRecordData | Record data for all record types. |
MasterRecordData | Record data for all record types allowed in master files. |