[][src]Struct openthread_sys::otRouterInfo

#[repr(C)]pub struct otRouterInfo {
    pub mExtAddress: otExtAddress,
    pub mRloc16: u16,
    pub mRouterId: u8,
    pub mNextHop: u8,
    pub mPathCost: u8,
    pub mLinkQualityIn: u8,
    pub mLinkQualityOut: u8,
    pub mAge: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: u8,
}

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]

Trait Implementations

impl Clone for otRouterInfo[src]

impl Copy for otRouterInfo[src]

impl Debug for otRouterInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.