Enum crs_bind::rtos::TaskState[][src]

pub enum TaskState {
    Running,
    Ready,
    Blocked,
    Suspended,
    Deleted,
}

Represents the state of a Task.

Variants

Running

The task is actively executing.

Ready

The task exists and is available to run, but is not currently running.

Blocked

The task is delayed or blocked by a mutex, semaphore or I/O operation.

Suspended

The task is suspended.

Deleted

The task has been deleted.

Auto Trait Implementations

impl Send for TaskState

impl Sync for TaskState

impl Unpin for TaskState

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.