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