Enum stm32_metapac::can::vals::Lec
#[repr(u8)]pub enum Lec {
NOERROR = 0,
STUFF = 1,
FORM = 2,
ACK = 3,
BITRECESSIVE = 4,
BITDOMINANT = 5,
CRC = 6,
CUSTOM = 7,
}
Variants§
NOERROR = 0
No Error
STUFF = 1
Stuff Error
FORM = 2
Form Error
ACK = 3
Acknowledgment Error
BITRECESSIVE = 4
Bit recessive Error
BITDOMINANT = 5
Bit dominant Error
CRC = 6
CRC Error
CUSTOM = 7
Set by software
Implementations§
Trait Implementations§
§impl Ord for Lec
impl Ord for Lec
§impl PartialOrd for Lec
impl PartialOrd for Lec
§fn partial_cmp(&self, other: &Lec) -> Option<Ordering>
fn partial_cmp(&self, other: &Lec) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Lec
impl Eq for Lec
impl StructuralPartialEq for Lec
Auto Trait Implementations§
impl Freeze for Lec
impl RefUnwindSafe for Lec
impl Send for Lec
impl Sync for Lec
impl Unpin for Lec
impl UnwindSafe for Lec
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