#[repr(u8)]pub enum Semstat {
Free = 0,
Cpu = 1,
Spis = 2,
CpuPending = 3,
}Variants§
Free = 0
Semaphore is free.
Cpu = 1
Semaphore is assigned to CPU.
Spis = 2
Semaphore is assigned to SPI slave.
CpuPending = 3
Semaphore is assigned to SPI but a handover to the CPU is pending.
Implementations§
Trait Implementations§
Source§impl Ord for Semstat
impl Ord for Semstat
Source§impl PartialOrd for Semstat
impl PartialOrd for Semstat
impl Copy for Semstat
impl Eq for Semstat
impl StructuralPartialEq for Semstat
Auto Trait Implementations§
impl Freeze for Semstat
impl RefUnwindSafe for Semstat
impl Send for Semstat
impl Sync for Semstat
impl Unpin for Semstat
impl UnwindSafe for Semstat
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