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>,
},
Unknown(&'a [u8]),
}
The enumeration that represents known types of DNS resource records data
Variants
CNAME(Name<'a>)
NS(Name<'a>)
A(Ipv4Addr)
AAAA(Ipv6Addr)
SRV
Fields
SOA(SoaRecord<'a>)
PTR(Name<'a>)
MX
Fields
Unknown(&'a [u8])
Methods
Trait Implementations
Formats the value using the given formatter.