pub enum PidStatus {
Running(Pid),
Done(Pid, i32),
Error(Pid),
Signaled(Pid, OsSignal),
}
Expand description
Status of a process that is part of a job.
Variants§
Running(Pid)
Process is running, contains the pid.
Done(Pid, i32)
Process is done, contains the pid and status code.
Error(Pid)
Process had an error, no status code available. Contains the pid.
Signaled(Pid, OsSignal)
Process was stopped due to a signal. Contains the pid and signal that stopped it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PidStatus
impl RefUnwindSafe for PidStatus
impl Send for PidStatus
impl Sync for PidStatus
impl Unpin for PidStatus
impl UnwindSafe for PidStatus
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