#[repr(transparent)]pub struct RadioCoexMetrics(pub otRadioCoexMetrics);
Expand description
This structure represents radio coexistence metrics.
Functional equivalent of otsys::otRadioCoexMetrics
.
Tuple Fields§
§0: otRadioCoexMetrics
Implementations§
Source§impl RadioCoexMetrics
impl RadioCoexMetrics
Sourcepub fn num_grant_glitch(&self) -> u32
pub fn num_grant_glitch(&self) -> u32
Number of grant glitches.
Sourcepub fn num_tx_request(&self) -> u32
pub fn num_tx_request(&self) -> u32
Number of tx requests.
Sourcepub fn num_tx_grant_immediate(&self) -> u32
pub fn num_tx_grant_immediate(&self) -> u32
Number of tx requests while grant was active.
Sourcepub fn num_tx_grant_wait(&self) -> u32
pub fn num_tx_grant_wait(&self) -> u32
Number of tx requests while grant was inactive.
Sourcepub fn num_tx_grant_wait_activated(&self) -> u32
pub fn num_tx_grant_wait_activated(&self) -> u32
Number of tx requests while grant was inactive that were ultimately granted.
Sourcepub fn num_tx_grant_wait_timeout(&self) -> u32
pub fn num_tx_grant_wait_timeout(&self) -> u32
Number of tx requests while grant was inactive that timed out.
Sourcepub fn num_tx_grant_deactivated_during_request(&self) -> u32
pub fn num_tx_grant_deactivated_during_request(&self) -> u32
Number of tx that were in progress when grant was deactivated.
Sourcepub fn num_tx_delayed_grant(&self) -> u32
pub fn num_tx_delayed_grant(&self) -> u32
Number of tx requests that were not granted within 50us.
Sourcepub fn avg_tx_request_to_grant_time(&self) -> u32
pub fn avg_tx_request_to_grant_time(&self) -> u32
Average time in usec from tx request to grant.
Sourcepub fn num_rx_request(&self) -> u32
pub fn num_rx_request(&self) -> u32
Number of rx requests.
Sourcepub fn num_rx_grant_immediate(&self) -> u32
pub fn num_rx_grant_immediate(&self) -> u32
Number of rx requests while grant was active.
Sourcepub fn num_rx_grant_wait(&self) -> u32
pub fn num_rx_grant_wait(&self) -> u32
Number of rx requests while grant was inactive.
Sourcepub fn num_rx_grant_wait_activated(&self) -> u32
pub fn num_rx_grant_wait_activated(&self) -> u32
Number of rx requests while grant was inactive that were ultimately granted.
Sourcepub fn num_rx_grant_wait_timeout(&self) -> u32
pub fn num_rx_grant_wait_timeout(&self) -> u32
Number of rx requests while grant was inactive that timed out.
Sourcepub fn num_rx_grant_deactivated_during_request(&self) -> u32
pub fn num_rx_grant_deactivated_during_request(&self) -> u32
Number of rx that were in progress when grant was deactivated.
Sourcepub fn num_rx_delayed_grant(&self) -> u32
pub fn num_rx_delayed_grant(&self) -> u32
Number of rx requests that were not granted within 50us.
Sourcepub fn avg_rx_request_to_grant_time(&self) -> u32
pub fn avg_rx_request_to_grant_time(&self) -> u32
Average time in usec from rx request to grant.
Sourcepub fn num_rx_grant_none(&self) -> u32
pub fn num_rx_grant_none(&self) -> u32
Number of rx requests that completed without receiving grant.
Trait Implementations§
Source§impl Clone for RadioCoexMetrics
impl Clone for RadioCoexMetrics
Source§fn clone(&self) -> RadioCoexMetrics
fn clone(&self) -> RadioCoexMetrics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RadioCoexMetrics
impl Debug for RadioCoexMetrics
Source§impl Default for RadioCoexMetrics
impl Default for RadioCoexMetrics
Source§fn default() -> RadioCoexMetrics
fn default() -> RadioCoexMetrics
Source§impl<'a> From<&'a RadioCoexMetrics> for &'a otRadioCoexMetrics
impl<'a> From<&'a RadioCoexMetrics> for &'a otRadioCoexMetrics
Source§fn from(x: &'a RadioCoexMetrics) -> Self
fn from(x: &'a RadioCoexMetrics) -> Self
Source§impl<'a> From<&'a otRadioCoexMetrics> for &'a RadioCoexMetrics
impl<'a> From<&'a otRadioCoexMetrics> for &'a RadioCoexMetrics
Source§impl From<RadioCoexMetrics> for otRadioCoexMetrics
impl From<RadioCoexMetrics> for otRadioCoexMetrics
Source§fn from(x: RadioCoexMetrics) -> Self
fn from(x: RadioCoexMetrics) -> Self
Source§impl From<otRadioCoexMetrics> for RadioCoexMetrics
impl From<otRadioCoexMetrics> for RadioCoexMetrics
Source§impl OtCastable for RadioCoexMetrics
impl OtCastable for RadioCoexMetrics
Source§fn as_ot_ptr(&self) -> *const Self::OtType
fn as_ot_ptr(&self) -> *const Self::OtType
Self::OtType
instance.Source§fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
Self::OtType
instance.Source§unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
unsafe fn ref_from_ot_ptr<'a>(ptr: *const Self::OtType) -> Option<&'a Self>
Self::OtType
. Read moreSource§unsafe fn mut_from_ot_mut_ptr<'a>(
ptr: *mut Self::OtType,
) -> Option<&'a mut Self>
unsafe fn mut_from_ot_mut_ptr<'a>( ptr: *mut Self::OtType, ) -> Option<&'a mut Self>
Self::OtType
. Read moreSource§fn as_ot_ref(&self) -> &Self::OtType
fn as_ot_ref(&self) -> &Self::OtType
Self::OtType
.Source§fn as_ot_mut(&mut self) -> &mut Self::OtType
fn as_ot_mut(&mut self) -> &mut Self::OtType
Self::OtType
.Source§fn ref_from_ot_ref(x: &Self::OtType) -> &Self
fn ref_from_ot_ref(x: &Self::OtType) -> &Self
Self
.