Enum resolve::record::RecordType [] [src]

pub enum RecordType {
    A,
    AAAA,
    CName,
    Mx,
    Ns,
    Ptr,
    Soa,
    Srv,
    Txt,
    Other(u16),
}

Represents the type of data in a message.

Variants

An IPv4 host address

An IPv6 host address

Canonical name for an alias

Mail exchange

Authoritative name server

Domain name pointer

Start of authority

Service record

Text string

Unrecognized record type

Methods

impl RecordType
[src]

[src]

Converts a u16 to a RecordType.

[src]

Converts a RecordType to a u16.

Trait Implementations

impl Copy for RecordType
[src]

impl Clone for RecordType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RecordType
[src]

[src]

Formats the value using the given formatter.

impl Eq for RecordType
[src]

impl PartialEq for RecordType
[src]

[src]

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

[src]

This method tests for !=.