Enum dns_parser::rdata::RData
source · pub enum RData<'a> {
A(A),
AAAA(Aaaa),
CNAME(Cname<'a>),
MX(Mx<'a>),
NS(Ns<'a>),
PTR(Ptr<'a>),
SOA(Soa<'a>),
SRV(Srv<'a>),
TXT(Txt<'a>),
Unknown(&'a [u8]),
}
Expand description
The enumeration that represents known types of DNS resource records data
Variants§
A(A)
AAAA(Aaaa)
CNAME(Cname<'a>)
MX(Mx<'a>)
NS(Ns<'a>)
PTR(Ptr<'a>)
SOA(Soa<'a>)
SRV(Srv<'a>)
TXT(Txt<'a>)
Unknown(&'a [u8])
Anything that can’t be parsed yet