#[repr(C)]pub struct otDnssdCounters {
pub mSuccessResponse: u32,
pub mServerFailureResponse: u32,
pub mFormatErrorResponse: u32,
pub mNameErrorResponse: u32,
pub mNotImplementedResponse: u32,
pub mOtherResponse: u32,
pub mResolvedBySrp: u32,
pub mUpstreamDnsCounters: otUpstreamDnsCounters,
}
Expand description
Contains the counters of DNS-SD server.
Fields§
§mSuccessResponse: u32
< The number of successful responses.
mServerFailureResponse: u32
< The number of server failure responses.
mFormatErrorResponse: u32
< The number of format error responses.
mNameErrorResponse: u32
< The number of name error responses.
mNotImplementedResponse: u32
< The number of ‘not implemented’ responses.
mOtherResponse: u32
< The number of other responses.
mResolvedBySrp: u32
< The number of queries resolved by the local SRP server.
mUpstreamDnsCounters: otUpstreamDnsCounters
< The number of queries, responses, < failures handled by upstream DNS server.
Trait Implementations§
Source§impl Clone for otDnssdCounters
impl Clone for otDnssdCounters
Source§fn clone(&self) -> otDnssdCounters
fn clone(&self) -> otDnssdCounters
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 otDnssdCounters
impl Debug for otDnssdCounters
Source§impl Default for otDnssdCounters
impl Default for otDnssdCounters
Source§fn default() -> otDnssdCounters
fn default() -> otDnssdCounters
Returns the “default value” for a type. Read more
impl Copy for otDnssdCounters
Auto Trait Implementations§
impl Freeze for otDnssdCounters
impl RefUnwindSafe for otDnssdCounters
impl Send for otDnssdCounters
impl Sync for otDnssdCounters
impl Unpin for otDnssdCounters
impl UnwindSafe for otDnssdCounters
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
)