#[repr(u8)]pub enum FreeRtosTaskState {
Running = 0,
Ready = 1,
Blocked = 2,
Suspended = 3,
Deleted = 4,
}
Variants§
Running = 0
A task is querying the state of itself, so must be running.
Ready = 1
The task being queried is in a read or pending ready list.
Blocked = 2
The task being queried is in the Blocked state.
Suspended = 3
The task being queried is in the Suspended state, or is in the Blocked state with an infinite time out.
Deleted = 4
The task being queried has been deleted, but its TCB has not yet been freed.
Trait Implementations§
Source§impl Clone for FreeRtosTaskState
impl Clone for FreeRtosTaskState
Source§fn clone(&self) -> FreeRtosTaskState
fn clone(&self) -> FreeRtosTaskState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FreeRtosTaskState
impl Debug for FreeRtosTaskState
impl Copy for FreeRtosTaskState
Auto Trait Implementations§
impl Freeze for FreeRtosTaskState
impl RefUnwindSafe for FreeRtosTaskState
impl Send for FreeRtosTaskState
impl Sync for FreeRtosTaskState
impl Unpin for FreeRtosTaskState
impl UnwindSafe for FreeRtosTaskState
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