#[repr(C)]pub struct otUpstreamDnsCounters {
pub mQueries: u32,
pub mResponses: u32,
pub mFailures: u32,
}
Expand description
Represents the count of queries, responses, failures handled by upstream DNS server.
Requires OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE
.
Fields§
§mQueries: u32
< The number of queries forwarded.
mResponses: u32
< The number of responses forwarded.
mFailures: u32
< The number of upstream DNS failures.
Trait Implementations§
Source§impl Clone for otUpstreamDnsCounters
impl Clone for otUpstreamDnsCounters
Source§fn clone(&self) -> otUpstreamDnsCounters
fn clone(&self) -> otUpstreamDnsCounters
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 otUpstreamDnsCounters
impl Debug for otUpstreamDnsCounters
Source§impl Default for otUpstreamDnsCounters
impl Default for otUpstreamDnsCounters
Source§fn default() -> otUpstreamDnsCounters
fn default() -> otUpstreamDnsCounters
Returns the “default value” for a type. Read more
impl Copy for otUpstreamDnsCounters
Auto Trait Implementations§
impl Freeze for otUpstreamDnsCounters
impl RefUnwindSafe for otUpstreamDnsCounters
impl Send for otUpstreamDnsCounters
impl Sync for otUpstreamDnsCounters
impl Unpin for otUpstreamDnsCounters
impl UnwindSafe for otUpstreamDnsCounters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)