Enum simple_dns::SimpleDnsError [−][src]
pub enum SimpleDnsError {
InvalidClass(u16),
InvalidQClass(u16),
InvalidQType(u16),
InvalidServiceName,
InvalidServiceLabel,
InvalidCharacterString,
InvalidHeaderData,
InvalidDnsPacket,
}Expand description
Error types for SimpleDns
Variants
Invalid value for CLASS type
Tuple Fields of InvalidClass
0: u16Invalid value for QCLASS type
Tuple Fields of InvalidQClass
0: u16Invalid value for QTYPE type
Tuple Fields of InvalidQType
0: u16Service Name doesn’t follow RFC rules
Service Name Label doesn’t follow RFC rules
Character String doesn’t follow RFC rules
Provided data is not valid for a header
Provided data is not valid for a DNS Packet