pub struct SerialCounters {
pub irq_total: u64,
pub irq_spurious: u64,
pub irq_budget_exhausted: u64,
pub rx_bytes: u64,
pub rx_fifo_overruns: u64,
pub rx_queue_dropped: u64,
pub rx_breaks: u64,
pub rx_parity_errors: u64,
pub rx_framing_errors: u64,
pub tx_bytes: u64,
}Fields§
§irq_total: u64§irq_spurious: u64§irq_budget_exhausted: u64§rx_bytes: u64§rx_fifo_overruns: u64§rx_queue_dropped: u64§rx_breaks: u64§rx_parity_errors: u64§rx_framing_errors: u64§tx_bytes: u64Trait Implementations§
Source§impl Clone for SerialCounters
impl Clone for SerialCounters
Source§fn clone(&self) -> SerialCounters
fn clone(&self) -> SerialCounters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SerialCounters
Source§impl Debug for SerialCounters
impl Debug for SerialCounters
Source§impl Default for SerialCounters
impl Default for SerialCounters
Source§fn default() -> SerialCounters
fn default() -> SerialCounters
Returns the “default value” for a type. Read more
impl Eq for SerialCounters
Source§impl PartialEq for SerialCounters
impl PartialEq for SerialCounters
Source§fn eq(&self, other: &SerialCounters) -> bool
fn eq(&self, other: &SerialCounters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SerialCounters
Auto Trait Implementations§
impl Freeze for SerialCounters
impl RefUnwindSafe for SerialCounters
impl Send for SerialCounters
impl Sync for SerialCounters
impl Unpin for SerialCounters
impl UnsafeUnpin for SerialCounters
impl UnwindSafe for SerialCounters
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