Enum dns_parser_joe::RRData [] [src]

pub enum RRData<'a> {
    CNAME(Name<'a>),
    NS(Name<'a>),
    A(Ipv4Addr),
    AAAA(Ipv6Addr),
    SRV {
        priority: u16,
        weight: u16,
        port: u16,
        target: Name<'a>,
    },
    SOA(SoaRecord<'a>),
    PTR(Name<'a>),
    MX {
        preference: u16,
        exchange: Name<'a>,
    },
    TXT(String),
    Unknown(&'a [u8]),
}

The enumeration that represents known types of DNS resource records data

Variants

Fields of SRV

Fields of MX

Methods

impl<'a> RRData<'a>
[src]

Trait Implementations

impl<'a> Debug for RRData<'a>
[src]

Formats the value using the given formatter.