pub enum RunState {
Runs,
Ready,
Waits,
}Expand description
The state of a thread.
Variants§
Runs
The thread is currently using the cpu.
Ready
The thread is ready to run, but is not running.
Waits
The thread is waiting for an event/signal to unblock it.
Auto Trait Implementations§
impl Freeze for RunState
impl RefUnwindSafe for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnwindSafe for RunState
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