#[repr(C)]pub struct otPingSenderStatistics {
pub mSentCount: u16,
pub mReceivedCount: u16,
pub mTotalRoundTripTime: u32,
pub mMinRoundTripTime: u16,
pub mMaxRoundTripTime: u16,
pub mIsMulticast: bool,
}
Expand description
Represents statistics of a ping request.
Fields§
§mSentCount: u16
< The number of ping requests already sent.
mReceivedCount: u16
< The number of ping replies received.
mTotalRoundTripTime: u32
< The total round trip time of ping requests.
mMinRoundTripTime: u16
< The min round trip time among ping requests.
mMaxRoundTripTime: u16
< The max round trip time among ping requests.
mIsMulticast: bool
< Whether this is a multicast ping request.
Trait Implementations§
Source§impl Clone for otPingSenderStatistics
impl Clone for otPingSenderStatistics
Source§fn clone(&self) -> otPingSenderStatistics
fn clone(&self) -> otPingSenderStatistics
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 otPingSenderStatistics
impl Debug for otPingSenderStatistics
Source§impl Default for otPingSenderStatistics
impl Default for otPingSenderStatistics
Source§fn default() -> otPingSenderStatistics
fn default() -> otPingSenderStatistics
Returns the “default value” for a type. Read more
impl Copy for otPingSenderStatistics
Auto Trait Implementations§
impl Freeze for otPingSenderStatistics
impl RefUnwindSafe for otPingSenderStatistics
impl Send for otPingSenderStatistics
impl Sync for otPingSenderStatistics
impl Unpin for otPingSenderStatistics
impl UnwindSafe for otPingSenderStatistics
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
)