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
impl Copy for Act
impl Eq for Act
impl StructuralPartialEq for Act
Auto Trait Implementations§
impl Freeze for Act
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)