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 csync;
17pub mod hinfo;
18pub mod https;
19pub mod mx;
20pub mod name;
21pub mod naptr;
22pub mod null;
23pub mod openpgpkey;
24pub mod opt;
25pub mod soa;
26pub mod srv;
27pub mod sshfp;
28pub mod svcb;
29pub mod tlsa;
30pub mod txt;
31
32pub use self::a::A;
33pub use self::aaaa::AAAA;
34pub use self::caa::CAA;
35pub use self::csync::CSYNC;
36pub use self::hinfo::HINFO;
37pub use self::https::HTTPS;
38pub use self::mx::MX;
39pub use self::name::{ANAME, CNAME, NS, PTR};
40pub use self::naptr::NAPTR;
41pub use self::null::NULL;
42pub use self::openpgpkey::OPENPGPKEY;
43pub use self::opt::OPT;
44pub use self::soa::SOA;
45pub use self::srv::SRV;
46pub use self::sshfp::SSHFP;
47pub use self::svcb::SVCB;
48pub use self::tlsa::TLSA;
49pub use self::txt::TXT;