#[repr(C)]pub struct DnsQuery {
pub record_type: u16,
pub class: u16,
pub name: [u8; 256],
}Fields§
§record_type: u16§class: u16§name: [u8; 256]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