Enum os::task::task::TaskStatus
source · pub enum TaskStatus {
Ready,
Running,
Zombie,
}
Variants§
Trait Implementations§
source§impl Clone for TaskStatus
impl Clone for TaskStatus
source§fn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
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 PartialEq<TaskStatus> for TaskStatus
impl PartialEq<TaskStatus> for TaskStatus
source§fn eq(&self, other: &TaskStatus) -> bool
fn eq(&self, other: &TaskStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations§
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
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