#[repr(C)]pub struct otDnsQuery {
pub mHostname: *const c_char,
pub mMessageInfo: *const otMessageInfo,
pub mNoRecursion: bool,
}Expand description
This structure implements DNS Query parameters.
Fields§
§mHostname: *const c_char< Identifies hostname to be found. It shall not change during resolving.
mMessageInfo: *const otMessageInfo< A reference to the message info related with DNS Server.
mNoRecursion: bool< If cleared, it directs name server to pursue the query recursively.
Trait Implementations§
Source§impl Clone for otDnsQuery
impl Clone for otDnsQuery
Source§fn clone(&self) -> otDnsQuery
fn clone(&self) -> otDnsQuery
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for otDnsQuery
impl Debug for otDnsQuery
impl Copy for otDnsQuery
Auto Trait Implementations§
impl Freeze for otDnsQuery
impl RefUnwindSafe for otDnsQuery
impl !Send for otDnsQuery
impl !Sync for otDnsQuery
impl Unpin for otDnsQuery
impl UnwindSafe for otDnsQuery
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