pub struct ErrorCounters {
pub transmit: u8,
pub receive: u8,
}Expand description
Transmit and receive error counters from the CAN controller.
Fields§
§transmit: u8§receive: u8Trait Implementations§
Source§impl Clone for ErrorCounters
impl Clone for ErrorCounters
Source§fn clone(&self) -> ErrorCounters
fn clone(&self) -> ErrorCounters
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 ErrorCounters
Source§impl Debug for ErrorCounters
impl Debug for ErrorCounters
impl Eq for ErrorCounters
Source§impl PartialEq for ErrorCounters
impl PartialEq for ErrorCounters
Source§fn eq(&self, other: &ErrorCounters) -> bool
fn eq(&self, other: &ErrorCounters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorCounters
Auto Trait Implementations§
impl Freeze for ErrorCounters
impl RefUnwindSafe for ErrorCounters
impl Send for ErrorCounters
impl Sync for ErrorCounters
impl Unpin for ErrorCounters
impl UnsafeUnpin for ErrorCounters
impl UnwindSafe for ErrorCounters
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