#[repr(u8)]pub enum TaskState {
Running = 1,
Ready = 2,
Blocked = 3,
Exited = 4,
}
Expand description
The possible states of a task.
Variants§
Trait Implementations§
source§impl PartialEq for TaskState
impl PartialEq for TaskState
impl Copy for TaskState
impl Eq for TaskState
impl StructuralEq for TaskState
impl StructuralPartialEq for TaskState
Auto Trait Implementations§
impl RefUnwindSafe for TaskState
impl Send for TaskState
impl Sync for TaskState
impl Unpin 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