Struct dns_parser::Header [−][src]
pub struct Header {}Show fields
pub id: u16, pub query: bool, pub opcode: Opcode, pub authoritative: bool, pub truncated: bool, pub recursion_desired: bool, pub recursion_available: bool, pub authenticated_data: bool, pub checking_disabled: bool, pub response_code: ResponseCode, pub questions: u16, pub answers: u16, pub nameservers: u16, pub additional: u16,
Represents parsed header of the packet
Fields
id: u16
query: bool
opcode: Opcode
truncated: bool
recursion_desired: bool
recursion_available: bool
authenticated_data: bool
checking_disabled: bool
response_code: ResponseCode
questions: u16
answers: u16
nameservers: u16
additional: u16
Implementations
impl Header
[src]
impl Header
[src]