pub enum ProcessState {
Inactive,
Active,
Terminating,
Terminated,
}Expand description
Runtime state of a Process.
Variants§
Inactive
Process is registered with the scheduled because it is either new or has been joined.
Active
Process is registered with the scheduler and participates in execution.
Terminating
Process termination has been requested; threads are being terminated.
Terminated
Process has no active threads and is terminated, waiting to be joined.
Trait Implementations§
Source§impl Clone for ProcessState
impl Clone for ProcessState
impl Copy for ProcessState
Source§impl PartialEq for ProcessState
impl PartialEq for ProcessState
impl StructuralPartialEq for ProcessState
Auto Trait Implementations§
impl Forget for ProcessState
impl Freeze for ProcessState
impl Move for ProcessState
impl RefUnwindSafe for ProcessState
impl Send for ProcessState
impl Sync for ProcessState
impl Unpin for ProcessState
impl UnsafeUnpin for ProcessState
impl UnwindSafe for ProcessState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)