#[repr(transparent)]pub struct PdProcessedRaInfo(pub otPdProcessedRaInfo);
Expand description
This structure represents border routing counters.
Functional equivalent of otsys::otPdProcessedRaInfo
.
Tuple Fields§
§0: otPdProcessedRaInfo
Implementations§
Source§impl PdProcessedRaInfo
impl PdProcessedRaInfo
Sourcepub fn num_platform_ra_received(&self) -> u32
pub fn num_platform_ra_received(&self) -> u32
The number of platform generated RA handled by ApplyPlatformGeneratedRa.
Sourcepub fn num_platform_pio_processed(&self) -> u32
pub fn num_platform_pio_processed(&self) -> u32
The number of PIO processed for adding OMR prefixes.
Sourcepub fn last_platform_ra_msec(&self) -> u32
pub fn last_platform_ra_msec(&self) -> u32
The timestamp of last processed RA message.
Trait Implementations§
Source§impl Clone for PdProcessedRaInfo
impl Clone for PdProcessedRaInfo
Source§fn clone(&self) -> PdProcessedRaInfo
fn clone(&self) -> PdProcessedRaInfo
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 PdProcessedRaInfo
impl Debug for PdProcessedRaInfo
Source§impl Default for PdProcessedRaInfo
impl Default for PdProcessedRaInfo
Source§fn default() -> PdProcessedRaInfo
fn default() -> PdProcessedRaInfo
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a PdProcessedRaInfo> for &'a otPdProcessedRaInfo
impl<'a> From<&'a PdProcessedRaInfo> for &'a otPdProcessedRaInfo
Source§fn from(x: &'a PdProcessedRaInfo) -> Self
fn from(x: &'a PdProcessedRaInfo) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a otPdProcessedRaInfo> for &'a PdProcessedRaInfo
impl<'a> From<&'a otPdProcessedRaInfo> for &'a PdProcessedRaInfo
Source§impl From<PdProcessedRaInfo> for otPdProcessedRaInfo
impl From<PdProcessedRaInfo> for otPdProcessedRaInfo
Source§fn from(x: PdProcessedRaInfo) -> Self
fn from(x: PdProcessedRaInfo) -> Self
Converts to this type from the input type.
Source§impl From<otPdProcessedRaInfo> for PdProcessedRaInfo
impl From<otPdProcessedRaInfo> for PdProcessedRaInfo
Source§impl OtCastable for PdProcessedRaInfo
impl OtCastable for PdProcessedRaInfo
Source§fn as_ot_ptr(&self) -> *const Self::OtType
fn as_ot_ptr(&self) -> *const Self::OtType
Returns a pointer to the underlying
Self::OtType
instance.Source§fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
fn as_ot_mut_ptr(&mut self) -> *mut Self::OtType
Returns a mutable pointer to the underlying
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>
Creates a reference from a pointer to an
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>
Creates a mut reference from a mut pointer to an
Self::OtType
. Read moreSource§fn as_ot_ref(&self) -> &Self::OtType
fn as_ot_ref(&self) -> &Self::OtType
Returns a reference to the original OpenThread type
Self::OtType
.Source§fn as_ot_mut(&mut self) -> &mut Self::OtType
fn as_ot_mut(&mut self) -> &mut Self::OtType
Returns a mutable reference to the original OpenThread type
Self::OtType
.Source§fn ref_from_ot_ref(x: &Self::OtType) -> &Self
fn ref_from_ot_ref(x: &Self::OtType) -> &Self
Casts a reference to the original OpenThread type to a reference to
Self
.Auto Trait Implementations§
impl Freeze for PdProcessedRaInfo
impl RefUnwindSafe for PdProcessedRaInfo
impl Send for PdProcessedRaInfo
impl Sync for PdProcessedRaInfo
impl Unpin for PdProcessedRaInfo
impl UnwindSafe for PdProcessedRaInfo
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
)