Enum simple_dns::QTYPE[][src]

pub enum QTYPE {
Show 22 variants A, AAAA, NS, MD, MF, CNAME, SOA, MB, MG, MR, NULL, WKS, PTR, HINFO, MINFO, MX, TXT, SRV, AXFR, MAILB, MAILA, ANY,
}
Expand description

Possible QTYPE values for a Question in a DNS packet
Each value is described according to its own RFC

Variants

A

Host address, RFC 1035

AAAA

Host address (IPv6) rfc3596

NS

Authoritative name server, RFC 1035

MD

Mail destination (Obsolete - use MX), RFC 1035

MF

Mail forwarder (Obsolete - use MX), RFC 1035

CNAME

Canonical name for an alias, RFC 1035

SOA

Marks the start of a zone of authority, RFC 1035

MB

Mailbox domain name (EXPERIMENTAL), RFC 1035

MG

Mail group member (EXPERIMENTAL), RFC 1035

MR

Mail rename domain name (EXPERIMENTAL), RFC 1035

NULL

Null RR (EXPERIMENTAL), RFC 1035

WKS

Well known service description, RFC 1035

PTR

Domain name pointer, RFC 1035

HINFO

Host Information, RFC 1035

MINFO

Mailbox or mail list information, RFC 1035

MX

Mail exchange, RFC 1035

TXT

Text strings, RFC 1035

SRV

SRV specifies the location of the server(s) for a specific protocol and domain. RFC 2780

AXFR

A request for a transfer of an entire zone, RFC 1035

MAILB

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

MAILA

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

ANY

A request for all records, RFC 1035

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.