#[repr(C)]pub struct otNetworkDiagConnectivity {
pub mParentPriority: i8,
pub mLinkQuality3: u8,
pub mLinkQuality2: u8,
pub mLinkQuality1: u8,
pub mLeaderCost: u8,
pub mIdSequence: u8,
pub mActiveRouters: u8,
pub mSedBufferSize: u16,
pub mSedDatagramCount: u8,
}
Expand description
Represents a Network Diagnostic Connectivity value.
Fields§
§mParentPriority: i8
< The priority of the sender as a parent.
mLinkQuality3: u8
< Number of neighbors with link of quality 3.
mLinkQuality2: u8
< Number of neighbors with link of quality 2.
mLinkQuality1: u8
< Number of neighbors with link of quality 1.
mLeaderCost: u8
< Cost to the Leader.
mIdSequence: u8
< Most recent received ID seq number.
mActiveRouters: u8
< Number of active routers.
mSedBufferSize: u16
< Buffer capacity in bytes for SEDs. Optional.
mSedDatagramCount: u8
< Queue capacity (number of IPv6 datagrams) per SED. Optional.
Trait Implementations§
Source§impl Clone for otNetworkDiagConnectivity
impl Clone for otNetworkDiagConnectivity
Source§fn clone(&self) -> otNetworkDiagConnectivity
fn clone(&self) -> otNetworkDiagConnectivity
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 otNetworkDiagConnectivity
impl Debug for otNetworkDiagConnectivity
Source§impl Default for otNetworkDiagConnectivity
impl Default for otNetworkDiagConnectivity
Source§fn default() -> otNetworkDiagConnectivity
fn default() -> otNetworkDiagConnectivity
Returns the “default value” for a type. Read more
impl Copy for otNetworkDiagConnectivity
Auto Trait Implementations§
impl Freeze for otNetworkDiagConnectivity
impl RefUnwindSafe for otNetworkDiagConnectivity
impl Send for otNetworkDiagConnectivity
impl Sync for otNetworkDiagConnectivity
impl Unpin for otNetworkDiagConnectivity
impl UnwindSafe for otNetworkDiagConnectivity
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
)