#[repr(u32)]pub enum BMStatType {
None = 0,
TxMessage = 1,
RxMessage = 2,
TxByte = 3,
RxByte = 4,
TxError = 5,
RxError = 6,
}Expand description
CAN runtime statistics item IDs, used in [super::api::BM_GetStatus].
Variants§
None = 0
Invalid statistics item
TxMessage = 1
Number of TX messages
RxMessage = 2
Number of RX messages
TxByte = 3
Number of TX bytes
RxByte = 4
Number of RX bytes
TxError = 5
Number of TX errors
RxError = 6
Number of RX errors
Auto Trait Implementations§
impl Freeze for BMStatType
impl RefUnwindSafe for BMStatType
impl Send for BMStatType
impl Sync for BMStatType
impl Unpin for BMStatType
impl UnwindSafe for BMStatType
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