#[repr(C)]pub struct can_device_stats {
pub bus_error: u32,
pub error_warning: u32,
pub error_passive: u32,
pub bus_off: u32,
pub arbitration_lost: u32,
pub restarts: u32,
}Fields§
§bus_error: u32§error_warning: u32§error_passive: u32§bus_off: u32§arbitration_lost: u32§restarts: u32Trait Implementations§
Source§impl Clone for can_device_stats
impl Clone for can_device_stats
Source§fn clone(&self) -> can_device_stats
fn clone(&self) -> can_device_stats
Returns a duplicate 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 can_device_stats
impl Debug for can_device_stats
impl Copy for can_device_stats
Auto Trait Implementations§
impl Freeze for can_device_stats
impl RefUnwindSafe for can_device_stats
impl Send for can_device_stats
impl Sync for can_device_stats
impl Unpin for can_device_stats
impl UnwindSafe for can_device_stats
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