Enum stm32_metapac::can::vals::Tos
#[repr(u8)]pub enum Tos {
CONTINUOUS = 0,
TX_EVENT_FIFO = 1,
RX_FIFO_0 = 2,
RX_FIFO_1 = 3,
}
Variants§
CONTINUOUS = 0
Continuous operation
TX_EVENT_FIFO = 1
Timeout controlled by Tx event FIFO
RX_FIFO_0 = 2
Timeout controlled by Rx FIFO 0
RX_FIFO_1 = 3
Timeout controlled by Rx FIFO 1
Implementations§
Trait Implementations§
§impl Ord for Tos
impl Ord for Tos
§impl PartialOrd for Tos
impl PartialOrd for Tos
§fn partial_cmp(&self, other: &Tos) -> Option<Ordering>
fn partial_cmp(&self, other: &Tos) -> 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 Tos
impl Eq for Tos
impl StructuralEq for Tos
impl StructuralPartialEq for Tos
Auto Trait Implementations§
impl RefUnwindSafe for Tos
impl Send for Tos
impl Sync for Tos
impl Unpin for Tos
impl UnwindSafe for Tos
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