Enum mdns::RecordKind [] [src]

pub enum RecordKind {
    A(Ipv4Addr),
    AAAA(Ipv6Addr),
    CNAME(String),
    MX {
        preference: u16,
        exchange: String,
    },
    NS(String),
    SRV {
        priority: u16,
        weight: u16,
        port: u16,
        target: String,
    },
    TXT(String),
    PTR(String),
    Unimplemented(Vec<u8>),
}

A specific DNS record variant.

Variants

Fields of MX

Fields of SRV

A record kind that hasn't been implemented by this library yet.

Trait Implementations

impl Clone for RecordKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RecordKind
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for RecordKind
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for RecordKind
[src]