trust_dns_proto/rr/rdata/mod.rs
1/*
2 * Copyright (C) 2015-2019 Benjamin Fry <benjaminfry@me.com>
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17//! All record data structures and related serialization methods
18
19// TODO: these should each be it's own struct, it would make parsing and decoding a little cleaner
20// and also a little more ergonomic when accessing.
21// each of these module's has the parser for that rdata embedded, to keep the file sizes down...
22pub mod a;
23pub mod aaaa;
24pub mod caa;
25pub mod csync;
26pub mod hinfo;
27pub mod mx;
28pub mod name;
29pub mod naptr;
30pub mod null;
31pub mod openpgpkey;
32pub mod opt;
33pub mod soa;
34pub mod srv;
35pub mod sshfp;
36pub mod svcb;
37pub mod tlsa;
38pub mod txt;
39
40pub use self::caa::CAA;
41pub use self::csync::CSYNC;
42pub use self::hinfo::HINFO;
43pub use self::mx::MX;
44pub use self::naptr::NAPTR;
45pub use self::null::NULL;
46pub use self::openpgpkey::OPENPGPKEY;
47pub use self::opt::OPT;
48pub use self::soa::SOA;
49pub use self::srv::SRV;
50pub use self::sshfp::SSHFP;
51pub use self::svcb::SVCB;
52pub use self::tlsa::TLSA;
53pub use self::txt::TXT;