[−][src]Struct openthread_sys::otRouterInfo
This structure holds diagnostic information for a Thread Router
Fields
mExtAddress: otExtAddress
< IEEE 802.15.4 Extended Address
mRloc16: u16
< RLOC16
mRouterId: u8
< Router ID
mNextHop: u8
< Next hop to router
mPathCost: u8
< Path cost to router
mLinkQualityIn: u8
< Link Quality In
mLinkQualityOut: u8
< Link Quality Out
mAge: u8
< Time last heard
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
__bindgen_padding_0: u8
Implementations
impl otRouterInfo
[src]
pub fn mAllocated(&self) -> bool
[src]
pub fn set_mAllocated(&mut self, val: bool)
[src]
pub fn mLinkEstablished(&self) -> bool
[src]
pub fn set_mLinkEstablished(&mut self, val: bool)
[src]
pub fn new_bitfield_1(
mAllocated: bool,
mLinkEstablished: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
mAllocated: bool,
mLinkEstablished: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for otRouterInfo
[src]
fn clone(&self) -> otRouterInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for otRouterInfo
[src]
impl Debug for otRouterInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for otRouterInfo
impl Send for otRouterInfo
impl Sync for otRouterInfo
impl Unpin for otRouterInfo
impl UnwindSafe for otRouterInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,