Enum domain::iana::rtype::Rtype[][src]

pub enum Rtype {
    A,
    Ns,
    Md,
    Mf,
    Cname,
    Soa,
    Mb,
    Mg,
    Mr,
    Null,
    Wks,
    Ptr,
    Hinfo,
    Minfo,
    Mx,
    Txt,
    Rp,
    Afsdb,
    X25,
    Isdn,
    Rt,
    Nsap,
    Nsapptr,
    Sig,
    Key,
    Px,
    Gpos,
    Aaaa,
    Loc,
    Nxt,
    Eid,
    Nimloc,
    Srv,
    Atma,
    Naptr,
    Kx,
    Cert,
    A6,
    Dname,
    Sink,
    Opt,
    Apl,
    Ds,
    Sshfp,
    Ipseckey,
    Rrsig,
    Nsec,
    Dnskey,
    Dhcid,
    Nsec3,
    Nsec3param,
    Tlsa,
    Smimea,
    Hip,
    Ninfo,
    Rkey,
    Talink,
    Cds,
    Cdnskey,
    Openpgpkey,
    Csync,
    Spf,
    Uinfo,
    Uid,
    Gid,
    Unspec,
    Nid,
    L32,
    L64,
    Lp,
    Eui48,
    Eui64,
    Tkey,
    Tsig,
    Ixfr,
    Axfr,
    Mailb,
    Maila,
    Any,
    Uri,
    Caa,
    Avc,
    Ta,
    Dlv,
    Int(u16),
}

Resource Record Types.

Each resource records has a 16 bit type value indicating what kind of information is represented by the record. Normal query includes the type of record information is requested for. A few aditional types, called query types, are defined as well and can only be used in questions. This type represents both these types.

Record types are defined in RFC 1035. The registry of currently assigned values can be found at http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4

In order to avoid confusion over capitalization, the mnemonics are treated as single acronyms and therefore all variant names are spelled with an initial capital letter in accordance with Rust naming guidelines.

Variants

A host address.

An authoritative name server.

A mail destination.

(Obsolete – use MX)

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 resource record.

(Experimental.)

A well known service description.

A domain name pointer.

Host information.

Mailbox or mail list information.

Mail exchange.

Text strings.

For Responsible Person.

See RFC 1183

For AFS Data Base location.

See RFC 1183 and RFC 5864.

For X.25 PSDN address.

See RFC 1183.

For ISDN address.

See RFC 1183.

For Route Through.

See RFC 1183

For SNAP address, NSAP style A record.

See RFC 1706.

For domain name pointer, NSAP style.

See RFC 1348, RFC 1637, RFC 1706.

For security signature.

For security key.

X.400 mail mapping information.

See RFC 2163.

Geographical position.

See RFC 1712

IPv6 address.

See RFC 3596.

Location information.

See RFC 1876.

Next domain.

(Obsolete.)

See RFC 3755 and RFC 2535.

Endpoint identifier.

Nimrod locator.

Server selection.

See RFC 2782.

ATM address.

Naming authority pointer.

See RFC 2915, RFC 2168, and RFC 3403.

Key exchanger.

See RFC 2230.

CERT

See RFC 4398.

A6.

(Obsolete – use AAAA.)

See RFC 3226, RFC 2874, and RFC 6563.

DNAME.

See RFC 6672.

SINK.

OPT.

See RFC 6891 and RFC 3225.

APL.

See RFC 3123.

Delegation signer.

See RFC 4034 and RFC 3658.

SSH key fingerprint.

See RFC 4255.

IPSECKEY

See RFC 4255.

RRSIG.

See RFC 4034 and RFC 3755.

NSEC.

See RFC 4034 and RFC 3755.

DNSKEY.

See RFC 4034 and RFC 3755.

DHCID.

See RFC 4701.

NSEC3

See RFC 5155.

NSEC3PARAM.

See RFC 5155.

TLSA.

See RFC 6698.

S/MIME cert association.

See draft-ietf-dane-smime.

Host Identity Protocol.

See RFC 5205.

NINFO.

RKEY.

Trust Anchor Link

Child DS.

See RFC 7344.

DNSKEY(s) the child wants reflected in DS.

See RFC 7344.

OpenPGP key.

See draft-ietf-dane-openpgpkey.

Child-to-parent synchronization.

See RFC 7477.

SPF.

RFC 7208.

UINFO.

IANA-Reserved.

UID.

IANA-Reserved.

GID.

IANA-Reserved.

UNSPEC.

IANA-Reserved.

NID.

See RFC 6742.

L32.

See RFC 6742.

L64.

See RFC 6742.

LP.

See RFC 6742.

An EUI-48 address.

See RFC 7043.

An EUI-64 address.

See RFC 7043.

Transaction key.

See RFC 2930.

Transaction signature.

See RFC 2845.

Incremental transfer.

See RFC 1995.

Transfer of entire zone.

See RFC 1035 and RFC 5936.

Mailbox-related RRs (MB, MG, or MR).

Mail agent RRS.

(Obsolete – see MX.)

A request for all records the server/cache has available.

See RFC 1035 and RFC 6895.

URI.

See RFC 7553.

Certification Authority Restriction.

See RFC 6844.

Application visibility and control.

DNSSEC trust authorities.

DNSSEC lookaside validation.

See RFC 4431

A raw value given through its integer.

Methods

impl Rtype
[src]

Returns a value from its raw integer value.

Returns the raw integer value for a value.

Returns a value from a well-defined mnemonic.

Returns the mnemonic for this value if there is one.

This will also return a mnemonic if a well-defined variant is hidden in a Int variant.

impl Rtype
[src]

impl Rtype
[src]

Trait Implementations

impl Clone for Rtype
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Rtype
[src]

impl Debug for Rtype
[src]

Formats the value using the given formatter. Read more

impl From<u16> for Rtype
[src]

Performs the conversion.

impl From<Rtype> for u16
[src]

Performs the conversion.

impl<'a> From<&'a Rtype> for u16
[src]

Performs the conversion.

impl PartialEq for Rtype
[src]

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

This method tests for !=.

impl PartialEq<u16> for Rtype
[src]

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

This method tests for !=.

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

impl PartialOrd for Rtype
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialOrd<u16> for Rtype
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialOrd<Rtype> for u16
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Rtype
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for Rtype
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for Rtype
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Rtype
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Rtype

impl Sync for Rtype