#[repr(C)]pub struct otHistoryTrackerNeighborInfo {
pub mExtAddress: otExtAddress,
pub mRloc16: u16,
pub mAverageRssi: i8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}Expand description
Represents a neighbor info.
Fields§
§mExtAddress: otExtAddress< Neighbor’s Extended Address.
mRloc16: u16< Neighbor’s RLOC16.
mAverageRssi: i8< Average RSSI of rx frames from neighbor at the time of recording entry.
_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>Implementations§
Source§impl otHistoryTrackerNeighborInfo
impl otHistoryTrackerNeighborInfo
pub fn mEvent(&self) -> u8
pub fn set_mEvent(&mut self, val: u8)
pub unsafe fn mEvent_raw(this: *const Self) -> u8
pub unsafe fn set_mEvent_raw(this: *mut Self, val: u8)
pub fn mRxOnWhenIdle(&self) -> bool
pub fn set_mRxOnWhenIdle(&mut self, val: bool)
pub unsafe fn mRxOnWhenIdle_raw(this: *const Self) -> bool
pub unsafe fn set_mRxOnWhenIdle_raw(this: *mut Self, val: bool)
pub fn mFullThreadDevice(&self) -> bool
pub fn set_mFullThreadDevice(&mut self, val: bool)
pub unsafe fn mFullThreadDevice_raw(this: *const Self) -> bool
pub unsafe fn set_mFullThreadDevice_raw(this: *mut Self, val: bool)
pub fn mFullNetworkData(&self) -> bool
pub fn set_mFullNetworkData(&mut self, val: bool)
pub unsafe fn mFullNetworkData_raw(this: *const Self) -> bool
pub unsafe fn set_mFullNetworkData_raw(this: *mut Self, val: bool)
pub fn mIsChild(&self) -> bool
pub fn set_mIsChild(&mut self, val: bool)
pub unsafe fn mIsChild_raw(this: *const Self) -> bool
pub unsafe fn set_mIsChild_raw(this: *mut Self, val: bool)
pub fn new_bitfield_1( mEvent: u8, mRxOnWhenIdle: bool, mFullThreadDevice: bool, mFullNetworkData: bool, mIsChild: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for otHistoryTrackerNeighborInfo
impl Clone for otHistoryTrackerNeighborInfo
Source§fn clone(&self) -> otHistoryTrackerNeighborInfo
fn clone(&self) -> otHistoryTrackerNeighborInfo
Returns a duplicate 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 otHistoryTrackerNeighborInfo
impl Debug for otHistoryTrackerNeighborInfo
Source§impl Default for otHistoryTrackerNeighborInfo
impl Default for otHistoryTrackerNeighborInfo
Source§fn default() -> otHistoryTrackerNeighborInfo
fn default() -> otHistoryTrackerNeighborInfo
Returns the “default value” for a type. Read more
impl Copy for otHistoryTrackerNeighborInfo
Auto Trait Implementations§
impl Freeze for otHistoryTrackerNeighborInfo
impl RefUnwindSafe for otHistoryTrackerNeighborInfo
impl Send for otHistoryTrackerNeighborInfo
impl Sync for otHistoryTrackerNeighborInfo
impl Unpin for otHistoryTrackerNeighborInfo
impl UnsafeUnpin for otHistoryTrackerNeighborInfo
impl UnwindSafe for otHistoryTrackerNeighborInfo
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