pub struct Proc<H> {
pub pid: Pid,
pub state: ProcState,
pub restarts: usize,
/* private fields */
}Expand description
One process: a program, its own VM, and its own interpreter.
Fields§
§pid: Pid§state: ProcState§restarts: usizeHow many times this process has been restarted.
Auto Trait Implementations§
impl<H> !Freeze for Proc<H>
impl<H> !RefUnwindSafe for Proc<H>
impl<H> !UnwindSafe for Proc<H>
impl<H> Send for Proc<H>
impl<H> Sync for Proc<H>
impl<H> Unpin for Proc<H>
impl<H> UnsafeUnpin for Proc<H>
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