#[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§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
)