Enum dns_parser::QueryType[][src]

pub enum QueryType {
    A,
    NS,
    MF,
    CNAME,
    SOA,
    MB,
    MG,
    MR,
    NULL,
    WKS,
    PTR,
    HINFO,
    MINFO,
    MX,
    TXT,
    AAAA,
    SRV,
    AXFR,
    MAILB,
    MAILA,
    All,
}

The QTYPE value according to RFC 1035

All "EXPERIMENTAL" markers here are from the RFC

Variants

a host addresss

an authoritative name server

a mail forwarder (Obsolete - use MX)

the canonical name for an alias

marks the start of a zone of authority

a mailbox domain name (EXPERIMENTAL)

a mail group member (EXPERIMENTAL)

a mail rename domain name (EXPERIMENTAL)

a null RR (EXPERIMENTAL)

a well known service description

a domain name pointer

host information

mailbox or mail list information

mail exchange

text strings

IPv6 host address (RFC 2782)

service record (RFC 2782)

A request for a transfer of an entire zone

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

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

A request for all records

Methods

impl QueryType
[src]

Parse a query type code

Trait Implementations

impl Debug for QueryType
[src]

Formats the value using the given formatter. Read more

impl PartialEq for QueryType
[src]

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

This method tests for !=.

impl Eq for QueryType
[src]

impl Clone for QueryType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for QueryType
[src]

Auto Trait Implementations

impl Send for QueryType

impl Sync for QueryType