hickory_proto/rr/rdata/
mod.rs

1// Copyright 2015-2023 Benjamin Fry <benjaminfry@me.com>
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// https://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5// https://opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7
8//! All record data structures and related serialization methods
9
10// TODO: these should each be it's own struct, it would make parsing and decoding a little cleaner
11//  and also a little more ergonomic when accessing.
12// each of these module's has the parser for that rdata embedded, to keep the file sizes down...
13pub mod a;
14pub mod aaaa;
15pub mod caa;
16pub mod cert;
17pub mod csync;
18pub mod hinfo;
19pub mod https;
20pub mod mx;
21pub mod name;
22pub mod naptr;
23pub mod null;
24pub mod openpgpkey;
25pub mod opt;
26pub mod soa;
27pub mod srv;
28pub mod sshfp;
29pub mod svcb;
30pub mod tlsa;
31pub mod txt;
32
33pub use self::a::A;
34pub use self::aaaa::AAAA;
35pub use self::caa::CAA;
36pub use self::cert::CERT;
37pub use self::csync::CSYNC;
38pub use self::hinfo::HINFO;
39pub use self::https::HTTPS;
40pub use self::mx::MX;
41pub use self::name::{ANAME, CNAME, NS, PTR};
42pub use self::naptr::NAPTR;
43pub use self::null::NULL;
44pub use self::openpgpkey::OPENPGPKEY;
45pub use self::opt::OPT;
46pub use self::soa::SOA;
47pub use self::srv::SRV;
48pub use self::sshfp::SSHFP;
49pub use self::svcb::SVCB;
50pub use self::tlsa::TLSA;
51pub use self::txt::TXT;