Struct MtlrxQmpocr
#[repr(transparent)]pub struct MtlrxQmpocr(pub u32);
Expand description
Rx queue missed packet and overflow counter register
Tuple Fields§
§0: u32
Implementations§
§impl MtlrxQmpocr
impl MtlrxQmpocr
pub fn set_ovfpktcnt(&mut self, val: u16)
pub fn set_ovfpktcnt(&mut self, val: u16)
Overflow Packet Counter
pub fn set_ovfcntovf(&mut self, val: bool)
pub fn set_ovfcntovf(&mut self, val: bool)
Overflow Counter Overflow Bit
pub fn set_mispktcnt(&mut self, val: u16)
pub fn set_mispktcnt(&mut self, val: u16)
Missed Packet Counter
pub fn set_miscntovf(&mut self, val: bool)
pub fn set_miscntovf(&mut self, val: bool)
Missed Packet Counter Overflow Bit
Trait Implementations§
§impl Clone for MtlrxQmpocr
impl Clone for MtlrxQmpocr
§fn clone(&self) -> MtlrxQmpocr
fn clone(&self) -> MtlrxQmpocr
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 more§impl Default for MtlrxQmpocr
impl Default for MtlrxQmpocr
§fn default() -> MtlrxQmpocr
fn default() -> MtlrxQmpocr
Returns the “default value” for a type. Read more
§impl PartialEq for MtlrxQmpocr
impl PartialEq for MtlrxQmpocr
impl Copy for MtlrxQmpocr
impl Eq for MtlrxQmpocr
impl StructuralPartialEq for MtlrxQmpocr
Auto Trait Implementations§
impl Freeze for MtlrxQmpocr
impl RefUnwindSafe for MtlrxQmpocr
impl Send for MtlrxQmpocr
impl Sync for MtlrxQmpocr
impl Unpin for MtlrxQmpocr
impl UnwindSafe for MtlrxQmpocr
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
)