Struct nex_packet::dns::DnsQuery
source · pub struct DnsQuery {
pub qname: Vec<u8>,
pub qtype: DnsType,
pub qclass: DnsClass,
pub payload: Vec<u8>,
}Expand description
DNS query packet structure.
Fields§
§qname: Vec<u8>§qtype: DnsType§qclass: DnsClass§payload: Vec<u8>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DnsQuery
impl RefUnwindSafe for DnsQuery
impl Send for DnsQuery
impl Sync for DnsQuery
impl Unpin for DnsQuery
impl UnwindSafe for DnsQuery
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more