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,
    NSEC,
}

The TYPE 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)

EDNS0 options (RFC 6891)

next secure record (RFC 4034, RFC 6762)

Methods

impl Type
[src]

Parse a type code

Trait Implementations

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Type
[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 Type
[src]

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Type
[src]

Auto Trait Implementations

impl Send for Type

impl Sync for Type