Enum dns_protocol::ResourceType
source · [−]#[repr(u16)]
#[non_exhaustive]
pub enum ResourceType {
Show 89 variants
A,
NS,
MD,
MF,
CName,
Soa,
MB,
MG,
MR,
Null,
Wks,
Ptr,
HInfo,
MInfo,
MX,
Txt,
RP,
AfsDb,
X25,
Isdn,
Rt,
NSap,
NSapPtr,
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,
Axfr,
MailB,
MailA,
Wildcard,
Uri,
Caa,
Avc,
Doa,
Amtrelay,
TA,
DLV,
}Expand description
The resource types that a question can ask for.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
A
Get the host’s IPv4 address.
NS
Get the authoritative name servers for a domain.
MD
Get the mail server for a domain.
MF
Get the mail forwarder for a domain.
CName
Get the canonical name for a domain.
Soa
Get the start of authority record for a domain.
MB
Get the mailbox for a domain.
MG
Get the mail group member for a domain.
MR
Get the mail rename domain for a domain.
Null
Get the null record for a domain.
Wks
Get the well known services for a domain.
Ptr
Get the domain pointer for a domain.
HInfo
Get the host information for a domain.
MInfo
Get the mailbox or mail list information for a domain.
MX
Get the mail exchange for a domain.
Txt
Get the text for a domain.
RP
Get the responsible person for a domain.
AfsDb
Get the AFS database location for a domain.
X25
Get the X.25 address for a domain.
Isdn
Get the ISDN address for a domain.
Rt
Get the router for a domain.
NSap
Get the NSAP address for a domain.
NSapPtr
Get the reverse NSAP address for a domain.
Sig
Get the security signature for a domain.
Key
Get the key for a domain.
Px
Get the X.400 mail mapping for a domain.
GPos
Get the geographical location for a domain.
AAAA
Get the IPv6 address for a domain.
Loc
Get the location for a domain.
Nxt
Get the next domain name in a zone.
EId
Get the endpoint identifier for a domain.
NimLoc
Get the Nimrod locator for a domain.
Srv
Get the server selection for a domain.
AtmA
Get the ATM address for a domain.
NAPtr
Get the naming authority pointer for a domain.
Kx
Get the key exchange for a domain.
Cert
Get the certificate for a domain.
A6
Get the IPv6 address for a domain.
This is obsolete; use AAAA instead.
DName
Get the DNAME for a domain.
Sink
Get the sink for a domain.
Opt
Get the OPT for a domain.
ApL
Get the address prefix list for a domain.
DS
Get the delegation signer for a domain.
SshFp
Get the SSH key fingerprint for a domain.
IpSecKey
Get the IPSEC key for a domain.
RRSig
Get the resource record signature for a domain.
NSEC
Get the next secure record for a domain.
DNSKey
Get the DNSKEY for a domain.
DHCID
Get the DHCID for a domain.
NSEC3
Get the NSEC3 for a domain.
NSEC3Param
Get the NSEC3 parameters for a domain.
TLSA
Get the TLSA for a domain.
SMimeA
Get the S/MIME certificate association for a domain.
HIP
Get the host information for a domain.
NInfo
Get the NINFO for a domain.
RKey
Get the RKEY for a domain.
TALink
Get the trust anchor link for a domain.
CDS
Get the child DS for a domain.
CDNSKey
Get the DNSKEY for a domain.
OpenPGPKey
Get the OpenPGP key for a domain.
CSync
Get the Child-to-Parent Synchronization for a domain.
ZoneMD
Get the Zone Data Message for a domain.
Svcb
Get the General Purpose Service Binding for a domain.
Https
Get the HTTP Service Binding for a domain.
Spf
Get the Sender Policy Framework for a domain.
UInfo
Get the UINFO for a domain.
UID
Get the UID for a domain.
GID
Get the GID for a domain.
Unspec
Get the UNSPEC for a domain.
NID
Get the NID for a domain.
L32
Get the L32 for a domain.
L64
Get the L64 for a domain.
LP
Get the LP for a domain.
EUI48
Get the EUI48 for a domain.
EUI64
Get the EUI64 for a domain.
TKey
Get the transaction key for a domain.
TSig
Get the transaction signature for a domain.
Ixfr
Get the incremental transfer for a domain.
Axfr
Get the transfer of an entire zone for a domain.
MailB
Get the mailbox-related records for a domain.
MailA
Get the mail agent RRs for a domain.
This is obsolete; use MX instead.
Wildcard
Get the wildcard match for a domain.
Uri
Get the URI for a domain.
Caa
Get the certification authority authorization for a domain.
Avc
Get the application visibility and control for a domain.
Doa
Get the digital object architecture for a domain.
Amtrelay
Get the automatic network discovery for a domain.
TA
Get the DNSSEC trust authorities for a domain.
DLV
Get the DNSSEC lookaside validation for a domain.
Trait Implementations
sourceimpl Clone for ResourceType
impl Clone for ResourceType
sourcefn clone(&self) -> ResourceType
fn clone(&self) -> ResourceType
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for ResourceType
impl Debug for ResourceType
sourceimpl Default for ResourceType
impl Default for ResourceType
sourceimpl From<ResourceType> for u16
impl From<ResourceType> for u16
sourcefn from(value: ResourceType) -> Self
fn from(value: ResourceType) -> Self
sourceimpl Hash for ResourceType
impl Hash for ResourceType
sourceimpl Ord for ResourceType
impl Ord for ResourceType
sourcefn cmp(&self, other: &ResourceType) -> Ordering
fn cmp(&self, other: &ResourceType) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<ResourceType> for ResourceType
impl PartialEq<ResourceType> for ResourceType
sourcefn eq(&self, other: &ResourceType) -> bool
fn eq(&self, other: &ResourceType) -> bool
sourceimpl PartialOrd<ResourceType> for ResourceType
impl PartialOrd<ResourceType> for ResourceType
sourcefn partial_cmp(&self, other: &ResourceType) -> Option<Ordering>
fn partial_cmp(&self, other: &ResourceType) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more