Enum stm32_metapac::can::vals::Act
#[repr(u8)]pub enum Act {
SYNC = 0,
IDLE = 1,
RX = 2,
TX = 3,
}
Variants§
SYNC = 0
Synchronizing: node is synchronizing on CAN communication.
IDLE = 1
Idle: node is neither receiver nor transmitter.
RX = 2
Receiver: node is operating as receiver.
TX = 3
Transmitter: node is operating as transmitter.
Implementations§
Trait Implementations§
§impl Ord for Act
impl Ord for Act
§impl PartialOrd for Act
impl PartialOrd for Act
§fn partial_cmp(&self, other: &Act) -> Option<Ordering>
fn partial_cmp(&self, other: &Act) -> 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 Act
impl Eq for Act
impl StructuralEq for Act
impl StructuralPartialEq for Act
Auto Trait Implementations§
impl RefUnwindSafe for Act
impl Send for Act
impl Sync for Act
impl Unpin for Act
impl UnwindSafe for Act
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