#[repr(u16)]pub enum DnsQType {
Show 52 variants
A = 1,
NS = 2,
CNAME = 5,
SOA = 6,
PTR = 12,
HINFO = 13,
MX = 15,
TXT = 16,
RP = 17,
AFSDB = 18,
SIG = 24,
KEY = 25,
AAAA = 28,
LOC = 29,
SRV = 33,
NAPTR = 35,
KX = 36,
CERT = 37,
DNAME = 39,
OPT = 41,
APL = 42,
DS = 43,
SSHFP = 44,
IPSECKEY = 45,
RRSIG = 46,
NSEC = 47,
DNSKEY = 48,
DHCID = 49,
NSEC3 = 50,
NSEC3PARAM = 51,
TLSA = 52,
SMIMEA = 53,
HIP = 55,
CDS = 59,
CDNSKEY = 60,
OPENPGPKEY = 61,
CSYNC = 62,
ZONEMD = 63,
SVCB = 64,
HTTPS = 65,
EUI48 = 108,
EUI64 = 109,
TKEY = 249,
TSIG = 250,
IXFR = 251,
AXFR = 252,
ALL = 255,
URI = 256,
CAA = 257,
TA = 32_768,
DLV = 32_769,
Reserved = 32770,
}
Expand description
The kind of a DNS query.
According to RFC 1035 Section 3.2.2 and RFC 1035 Section 3.2.3.
Variants§
A = 1
NS = 2
CNAME = 5
SOA = 6
PTR = 12
HINFO = 13
MX = 15
TXT = 16
RP = 17
AFSDB = 18
SIG = 24
KEY = 25
AAAA = 28
LOC = 29
SRV = 33
NAPTR = 35
KX = 36
CERT = 37
DNAME = 39
OPT = 41
APL = 42
DS = 43
SSHFP = 44
IPSECKEY = 45
RRSIG = 46
NSEC = 47
DNSKEY = 48
DHCID = 49
NSEC3 = 50
NSEC3PARAM = 51
TLSA = 52
SMIMEA = 53
HIP = 55
CDS = 59
CDNSKEY = 60
OPENPGPKEY = 61
CSYNC = 62
ZONEMD = 63
SVCB = 64
HTTPS = 65
EUI48 = 108
EUI64 = 109
TKEY = 249
TSIG = 250
IXFR = 251
AXFR = 252
ALL = 255
URI = 256
CAA = 257
TA = 32_768
DLV = 32_769
Reserved = 32770
Implementations§
Trait Implementations§
impl Copy for DnsQType
impl StructuralPartialEq for DnsQType
Auto Trait Implementations§
impl Freeze for DnsQType
impl RefUnwindSafe for DnsQType
impl Send for DnsQType
impl Sync for DnsQType
impl Unpin for DnsQType
impl UnwindSafe for DnsQType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more