Enum dns_parser::Type
[−]
[src]
pub enum Type {
A,
NS,
MF,
CNAME,
SOA,
MB,
MG,
MR,
NULL,
WKS,
PTR,
HINFO,
MINFO,
MX,
TXT,
AAAA,
SRV,
OPT,
}The TYPE value according to RFC 1035
All "EXPERIMENTAL" markers here are from the RFC
Variants
Aa host addresss
NSan authoritative name server
MFa mail forwarder (Obsolete - use MX)
CNAMEthe canonical name for an alias
SOAmarks the start of a zone of authority
MBa mailbox domain name (EXPERIMENTAL)
MGa mail group member (EXPERIMENTAL)
MRa mail rename domain name (EXPERIMENTAL)
NULLa null RR (EXPERIMENTAL)
WKSa well known service description
PTRa domain name pointer
HINFOhost information
MINFOmailbox or mail list information
MXmail exchange
TXTtext strings
AAAAIPv6 host address (RFC 2782)
SRVservice record (RFC 2782)
OPTEDNS0 options (RFC 6891)
Methods
impl Type[src]
Trait Implementations
impl Copy for Type[src]
impl Clone for Type[src]
fn clone(&self) -> Type
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Eq for Type[src]
impl PartialEq for Type[src]
fn eq(&self, __arg_0: &Type) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.