Enum dns_message_parser::rr::Type[][src]

#[repr(u16)]
pub enum Type {
Show 85 variants A, NS, MD, MF, CNAME, SOA, MB, MG, MR, NULL, WKS, PTR, HINFO, MINFO, MX, TXT, RP, AFSDB, X25, ISDN, RT, NSAP, NSAP_PTR, SIG, KEY, PX, GPOS, AAAA, LOC, NXT, EID, NIMLOC, SRV, ATMA, NAPTR, KX, CERT, A6, DNAME, SINK, OPT, APL, DS, SSHFP, IPSECKEY, RRSIG, NSEC, DNSKEY, DHCID, NSEC3, NSEC3PARAM, TLSA, SMIMEA, HIP, NINFO, RKEY, TALINK, CDS, CDNSKEY, OPENPGPKEY, CSYNC, ZONEMD, SVCB, HTTPS, SPF, UINFO, UID, GID, UNSPEC, NID, L32, L64, LP, EUI48, EUI64, TKEY, TSIG, IXFR, URI, CAA, AVC, DOA, AMTRELAY, TA, DLV,
}
Expand description

The type field in the resource records.

Variants

A

The IPv4 host address type.

NS
MD

The mail destination type. (obsolete)

MF

The mail forwarder type. (obsolete)

CNAME

The canonical name type.

SOA
MB
MG
MR
NULL

The null type.

WKS

The well known service description type.

PTR
HINFO

The host information type.

MINFO
MX

The mail exchange type.

TXT

The text type.

RP
AFSDB
X25

The X25 type.

ISDN

The ISDN type.

RT

The route through type.

NSAP

The NSAP type.

NSAP_PTR

The NSAP pointer type.

SIG
KEY
PX

The X.400 pointer type.

GPOS
AAAA

The IPv6 host address type.

LOC
NXT
EID
NIMLOC
SRV
ATMA
NAPTR
KX

The key exchange type.

CERT
A6
DNAME
SINK
OPT
APL
DS

The DS type.

SSHFP
IPSECKEY
RRSIG
NSEC
DNSKEY

The DNSKEY type.

DHCID
NSEC3
NSEC3PARAM
TLSA
SMIMEA
HIP
NINFO
RKEY
CDS
CDNSKEY
OPENPGPKEY
CSYNC
ZONEMD
SVCB

The [service binding] resource record type.

[service binding] https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/

HTTPS

The [https] resource record type.

[https] https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/

SPF
UINFO
UID
GID
UNSPEC
NID
L32
L64
LP
EUI48
EUI64
TKEY
TSIG
IXFR
URI
CAA

The certification authority authorization resource record type.

AVC
DOA
AMTRELAY
TA
DLV

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

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

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)

recently added

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.