[][src]Struct openthread_sys::otRadioFrame__bindgen_ty_1__bindgen_ty_2

#[repr(C)]pub struct otRadioFrame__bindgen_ty_1__bindgen_ty_2 {
    pub mTimestamp: u64,
    pub mRssi: i8,
    pub mLqi: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub __bindgen_padding_0: [u8; 5],
}

Structure representing radio frame receive information.

Fields

mTimestamp: u64

The timestamp when the frame was received in microseconds.

The value SHALL be the time when the SFD was received when TIME_SYNC or CSL is enabled. Otherwise, the time when the MAC frame was fully received is also acceptable.

mRssi: i8

< Received signal strength indicator in dBm for received frames.

mLqi: u8

< Link Quality Indicator for received frames.

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>__bindgen_padding_0: [u8; 5]

Implementations

impl otRadioFrame__bindgen_ty_1__bindgen_ty_2[src]

pub fn mAckedWithFramePending(&self) -> bool[src]

pub fn set_mAckedWithFramePending(&mut self, val: bool)[src]

pub fn new_bitfield_1(
    mAckedWithFramePending: bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for otRadioFrame__bindgen_ty_1__bindgen_ty_2[src]

impl Copy for otRadioFrame__bindgen_ty_1__bindgen_ty_2[src]

impl Debug for otRadioFrame__bindgen_ty_1__bindgen_ty_2[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.