#[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
This structure represents a Network Diagnostic Connectivity value.
Fields§
§mParentPriority: i8The priority of the sender as a parent.
mLinkQuality3: u8The number of neighboring devices with which the sender shares a link of quality 3.
mLinkQuality2: u8The number of neighboring devices with which the sender shares a link of quality 2.
mLinkQuality1: u8The number of neighboring devices with which the sender shares a link of quality 1.
mLeaderCost: u8The sender’s routing cost to the Leader.
mIdSequence: u8The most recent ID sequence number received by the sender.
mActiveRouters: u8The number of active Routers in the sender’s Thread Network Partition.
mSedBufferSize: u16The guaranteed buffer capacity in octets for all IPv6 datagrams destined to a given SED. Optional.
mSedDatagramCount: u8The guaranteed queue capacity in number of IPv6 datagrams destined to a given 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
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