#![cfg_attr(rustfmt, rustfmt_skip)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
pub struct Class(pub u16);
impl Class {
pub const IN: Self = Self(0x0001); pub const CH: Self = Self(0x0003); pub const HS: Self = Self(0x0004); pub const NONE: Self = Self(0x00fe); pub const ANY: Self = Self(0x00ff); }
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
pub struct Type(pub u16);
impl Type {
pub const A: Self = Self(0x0001); pub const NS: Self = Self(0x0002); pub const MD: Self = Self(0x0003); pub const MF: Self = Self(0x0004); pub const CNAME: Self = Self(0x0005); pub const SOA: Self = Self(0x0006); pub const MB: Self = Self(0x0007); pub const MG: Self = Self(0x0008); pub const MR: Self = Self(0x0009); pub const NULL: Self = Self(0x000a); pub const WKS: Self = Self(0x000b); pub const PTR: Self = Self(0x000c); pub const HINFO: Self = Self(0x000d); pub const MINFO: Self = Self(0x000e); pub const MX: Self = Self(0x000f); pub const TXT: Self = Self(0x0010); pub const RP: Self = Self(0x0011); pub const AFSDB: Self = Self(0x0012); pub const X25: Self = Self(0x0013); pub const ISDN: Self = Self(0x0014); pub const RT: Self = Self(0x0015); pub const NSAP: Self = Self(0x0016); pub const NSAP_PTR: Self = Self(0x0017); pub const SIG: Self = Self(0x0018); pub const KEY: Self = Self(0x0019); pub const PX: Self = Self(0x001a); pub const GPOS: Self = Self(0x001b); pub const AAAA: Self = Self(0x001c); pub const LOC: Self = Self(0x001d); pub const NXT: Self = Self(0x001e); pub const EID: Self = Self(0x001f); pub const NIMLOC: Self = Self(0x0020); pub const SRV: Self = Self(0x0021); pub const ATMA: Self = Self(0x0022); pub const NAPTR: Self = Self(0x0023); pub const KX: Self = Self(0x0024); pub const CERT: Self = Self(0x0025); pub const A6: Self = Self(0x0026); pub const DNAME: Self = Self(0x0027); pub const SINK: Self = Self(0x0028); pub const OPT: Self = Self(0x0029); pub const APL: Self = Self(0x002a); pub const DS: Self = Self(0x002b); pub const SSHFP: Self = Self(0x002c); pub const IPSECKEY: Self = Self(0x002d); pub const RRSIG: Self = Self(0x002e); pub const NSEC: Self = Self(0x002f); pub const DNSKEY: Self = Self(0x0030); pub const DHCID: Self = Self(0x0031); pub const NSEC3: Self = Self(0x0032); pub const NSEC3PARAM: Self = Self(0x0033); pub const TLSA: Self = Self(0x0034); pub const SMIMEA: Self = Self(0x0035); pub const HIP: Self = Self(0x0037); pub const NINFO: Self = Self(0x0038); pub const RKEY: Self = Self(0x0039); pub const TALINK: Self = Self(0x003a); pub const CDS: Self = Self(0x003b); pub const CDNSKEY: Self = Self(0x003c); pub const OPENPGPKEY: Self = Self(0x003d); pub const CSYNC: Self = Self(0x003e); pub const SPF: Self = Self(0x0063); pub const UINFO: Self = Self(0x0064); pub const UID: Self = Self(0x0065); pub const GID: Self = Self(0x0066); pub const UNSPEC: Self = Self(0x0067); pub const NID: Self = Self(0x0068); pub const L32: Self = Self(0x0069); pub const L64: Self = Self(0x006a); pub const LP: Self = Self(0x006b); pub const EUI48: Self = Self(0x006c); pub const EUI64: Self = Self(0x006d);
pub const TKEY: Self = Self(0x00f9); pub const TSIG: Self = Self(0x00fa); pub const IXFR: Self = Self(0x00fb); pub const AXFR: Self = Self(0x00fc); pub const MAILB: Self = Self(0x00fd); pub const MAILA: Self = Self(0x00fe); pub const ANY: Self = Self(0x00ff);
pub const URI: Self = Self(0x0100); pub const CAA: Self = Self(0x0101); pub const AVC: Self = Self(0x0102); pub const DOA: Self = Self(0x0103); pub const TA: Self = Self(0x8000); pub const DLV: Self = Self(0x8001); }