Struct openthread_sys::otLinkMetrics
source · #[repr(C)]pub struct otLinkMetrics {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
}
Expand description
Represents what metrics are specified to query.
Fields§
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
Implementations§
source§impl otLinkMetrics
impl otLinkMetrics
pub fn mPduCount(&self) -> bool
pub fn set_mPduCount(&mut self, val: bool)
pub fn mLqi(&self) -> bool
pub fn set_mLqi(&mut self, val: bool)
pub fn mLinkMargin(&self) -> bool
pub fn set_mLinkMargin(&mut self, val: bool)
pub fn mRssi(&self) -> bool
pub fn set_mRssi(&mut self, val: bool)
pub fn mReserved(&self) -> bool
pub fn set_mReserved(&mut self, val: bool)
pub fn new_bitfield_1( mPduCount: bool, mLqi: bool, mLinkMargin: bool, mRssi: bool, mReserved: bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for otLinkMetrics
impl Clone for otLinkMetrics
source§fn clone(&self) -> otLinkMetrics
fn clone(&self) -> otLinkMetrics
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 otLinkMetrics
impl Debug for otLinkMetrics
source§impl Default for otLinkMetrics
impl Default for otLinkMetrics
source§fn default() -> otLinkMetrics
fn default() -> otLinkMetrics
Returns the “default value” for a type. Read more
impl Copy for otLinkMetrics
Auto Trait Implementations§
impl Freeze for otLinkMetrics
impl RefUnwindSafe for otLinkMetrics
impl Send for otLinkMetrics
impl Sync for otLinkMetrics
impl Unpin for otLinkMetrics
impl UnwindSafe for otLinkMetrics
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)