pub enum TaskState {
Running,
Ready,
Blocked,
Suspended,
Deleted,
}Expand description
eTaskState: what a task is doing, derived from the list it is in
exactly as eTaskGetState derives it.
Variants§
Running
The task current names.
Ready
On a ready list.
Blocked
On a delayed list, or on an event list with a timeout.
Suspended
On the suspended list with no event pending.
Deleted
The handle names no live task.
Trait Implementations§
impl Copy for TaskState
impl Eq for TaskState
impl StructuralPartialEq for TaskState
Auto Trait Implementations§
impl Freeze for TaskState
impl RefUnwindSafe for TaskState
impl Send for TaskState
impl Sync for TaskState
impl Unpin for TaskState
impl UnsafeUnpin for TaskState
impl UnwindSafe for TaskState
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