pub enum Kind {
Queue,
Set,
Semaphore,
Mutex,
RecursiveMutex,
}Expand description
What a queue is underneath (ucQueueType).
Variants§
Queue
A queue of values. #[default] so a free arena slot holds something
real without unsafe; the ORDER above is untouched, and nothing reads
a free slot.
Set
A queue set: a queue whose items are the handles of the queues in
it. xQueueSelectFromSet is a receive from this one.
Semaphore
A binary or counting semaphore: a queue with a zero-size item, so only the count matters.
Mutex
A mutex: a one-deep semaphore with a holder and priority inheritance.
RecursiveMutex
A recursive mutex: as above, and the holder may take it again.
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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