[][src]Enum mdns::RecordKind

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(Vec<String>),
    PTR(String),
    Unimplemented(Vec<u8>),
}

A specific DNS record variant.

Variants

AAAA(Ipv6Addr)
CNAME(String)
MX

Fields of MX

preference: u16exchange: String
NS(String)
SRV

Fields of SRV

priority: u16weight: u16port: u16target: String
TXT(Vec<String>)
PTR(String)
Unimplemented(Vec<u8>)

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

Trait Implementations

impl Clone for RecordKind[src]

impl Debug for RecordKind[src]

impl Eq for RecordKind[src]

impl PartialEq<RecordKind> for RecordKind[src]

impl StructuralEq for RecordKind[src]

impl StructuralPartialEq for RecordKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.