Enum sawp_dns::enums::RecordType
source · [−]#[repr(u16)]
pub enum RecordType {
Show 90 variants
A,
NS,
MD,
MF,
CNAME,
SOA,
MB,
MG,
MR,
NUL,
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,
ANY,
URI,
CAA,
AVC,
DOA,
AMTRELAY,
TA,
DLV,
UNKNOWN,
}
Variants
A
Address record
NS
Name server record
MD
Obsolete
MF
Obsolete
CNAME
Canonical name record
SOA
Start of authority record
MB
Unlikely to be adopted. See https://tools.ietf.org/html/rfc2505
MG
Unlikely to be adopted. See https://tools.ietf.org/html/rfc2505
MR
Unlikely to be adopted. See https://tools.ietf.org/html/rfc2505
NUL
Obsolete
WKS
Not to be relied upon. See https://tools.ietf.org/html/rfc1123
PTR
PTR resource record (pointer to a canonical name)
HINFO
Host information
MINFO
Unlikely to be adopted. See https://tools.ietf.org/html/rfc2505
MX
Mail exchange record
TXT
Text record
RP
Responsible person
AFSDB
AFS database record
X25
Maps a domain name to a PSDN address number
ISDN
Maps a domain name to an ISDN telephone number
RT
Specifies intermediate host routing to host with the name of the RT-record
NSAP
Maps a domain name to an NSAP address
NSAPPTR
Facilitates translation from NSAP address to DNS name
SIG
Signature - obsolete
KEY
Key record - obsolete
PX
Pointer to X.400/RFC822 mapping information
GPOS
A more limited early version of LOC
AAAA
IPv6 address record
LOC
Location record
NXT
Obsolete
EID
Never made it to RFC status. See https://tools.ietf.org/html/draft-ietf-nimrod-dns-00
NIMLOC
Never made it to RFC status. See https://tools.ietf.org/html/draft-ietf-nimrod-dns-00
SRV
Service locator
ATMA
Defined by the ATM forum committee
NAPTR
Naming authority pointer
KX
Key exchanger record
CERT
Certificate record
A6
Obsolete
DNAME
Delegation name record
SINK
Never made it to RFC status. See https://tools.ietf.org/html/draft-eastlake-kitchen-sink
OPT
Option (needed to support EDNS)
APL
Address prefix list
DS
Delegation signer
SSHFP
SSH public key fingerprint
IPSECKEY
IPsec key
RRSIG
DNSSEC signature
NSEC
Next Secure record
DNSKEY
DNS Key record
DHCID
DHCP identifier
NSEC3
Next Secure record version 3
NSEC3PARAM
NSEC3 parameters
TLSA
TLSA certificate association
SMIMEA
S/MIME cert association
HIP
Host Identity Protocol
NINFO
Expired without adoption by IETF
RKEY
Expired without adoption by IETF
TALINK
Never made it to RFC status. See https://tools.ietf.org/html/draft-wijngaards-dnsop-trust-history-02
CDS
Child DS
CDNSKEY
Child DNSKEY
OPENPGPKEY
OpenPGP public key record
CSYNC
Child-to-parent synchronization
ZONEMD
Draft: see https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-14
SVCB
Draft: see https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/00
HTTPS
Draft: see https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https/00
SPF
Obsolete
UINFO
IANA reserved
UID
IANA reserved
GID
IANA reserved
UNSPEC
IANA reserved
NID
Experimental: see https://tools.ietf.org/html/rfc6742
L32
Experimental: see https://tools.ietf.org/html/rfc6742
L64
Experimental: see https://tools.ietf.org/html/rfc6742
LP
Experimental: see https://tools.ietf.org/html/rfc6742
EUI48
MAC address (EUI-48)
EUI64
MAC address (EUI-64)
TKEY
Transaction key record
TSIG
Transaction signature
IXFR
Incremental zone transfer
AXFR
Authoritative zone transfer
MAILB
Returns MB, MG, MR, or MINFO. Unlikely to be adopted.
MAILA
Obsolete
ANY
All cached records
URI
Uniform resource identifier
CAA
Certification authority authorization
AVC
Application visibility and control
DOA
Digital object architecture
AMTRELAY
Automatic multicast tunneling relay
TA
DNSSEC trust authorities
DLV
DNSSEC lookaside validation record
UNKNOWN
Implementations
sourceimpl RecordType
impl RecordType
Trait Implementations
sourceimpl Clone for RecordType
impl Clone for RecordType
sourcefn clone(&self) -> RecordType
fn clone(&self) -> RecordType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RecordType
impl Debug for RecordType
sourceimpl PartialEq<RecordType> for RecordType
impl PartialEq<RecordType> for RecordType
sourceimpl TryFrom<u16> for RecordType
impl TryFrom<u16> for RecordType
type Error = TryFromPrimitiveError<RecordType>
type Error = TryFromPrimitiveError<RecordType>
The type returned in the event of a conversion error.
sourcefn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for RecordType
impl TryFromPrimitive for RecordType
type Primitive = u16
const NAME: &'static str = "RecordType"
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more