Enum cdns_rs::common::QType[][src]

#[repr(u16)]
pub enum QType {
Show 35 variants A, NS, MD, MF, CNAME, SOA, MB, MG, MR, NULL, WKS, PTR, HINFO, MINFO, MX, TXT, AFSDB, KEY, AAAA, CERT, DS, RRSIG, NSEC, DNSKEY, NSEC3, NSEC3PARAM, CDS, CDNSKEY, OPENPGPKEY, AXFR, MAILB, MAILA, CAA, ALL, DLV,
}
Expand description

A two octet code which specifies the type of the query. TYPE fields are used in resource records. Note that these types are a subset of QTYPEs. QTYPE fields appear in the question part of a query. QTYPES are a superset of TYPEs, hence all TYPEs are valid QTYPEs.

Variants

A

1 a host address

NS

2 an authoritative name server

MD

3 a mail destination (Obsolete - use MX)

MF

4 a mail forwarder (Obsolete - use MX)

CNAME

5 the canonical name for an alias

SOA

6 marks the start of a zone of authority

MB

7 a mailbox domain name (EXPERIMENTAL)

MG

8 a mail group member (EXPERIMENTAL)

MR

9 a mail rename domain name (EXPERIMENTAL)

NULL

10 a null RR (EXPERIMENTAL)

WKS

11 a well known service description

PTR

12 a domain name pointer

HINFO

13 host information

MINFO

14 mailbox or mail list information

MX

15 mail exchange

TXT

16 text strings

AFSDB

18 AFS database record

KEY

25 Key record

AAAA

28 IPv6 address record

CERT

37 Certificate records

DS

43 Delegation signer

RRSIG

46 DNSSEC signature

NSEC

47 Next Secure record

DNSKEY

DNS Key record

NSEC3

50 Next Secure record version 3

NSEC3PARAM

51 NSEC3 parameters

CDS

59 Child DS

CDNSKEY

60 Child copy of DNSKEY record, for transfer to parent

OPENPGPKEY

OpenPGP public key record

AXFR

252 A request for a transfer of an entire zone

MAILB

253 A request for mailbox-related records (MB, MG or MR)

MAILA

254 A request for mail agent RRs (Obsolete - see MX)

CAA

257 Certification Authority Authorization

ALL

DLV

32769 DNSSEC Lookaside Validation record

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.