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

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)

Methods

impl Type
[src]

[src]

Parse a type code

Trait Implementations

impl Debug for Type
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Type
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Type
[src]

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Type
[src]