pub struct Process {
pid: pid_t,
status: Option<ExitStatus>,
pidfd: Option<PidFd>,
}Expand description
The unique ID of the process (this should never be negative).
Fields§
§pid: pid_t§status: Option<ExitStatus>§pidfd: Option<PidFd>Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
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