pub enum ChildStatus {
Exited(i32),
Signaled(i32),
Stopped,
Running,
}Expand description
Outcome of waiting for a child process.
Variants§
Exited(i32)
Exited normally with a status code.
Signaled(i32)
Killed by a signal (value is 128 + signal number).
Stopped
Stopped (e.g. SIGTSTP).
Running
Still alive (non-blocking wait only).
Auto Trait Implementations§
impl Freeze for ChildStatus
impl RefUnwindSafe for ChildStatus
impl Send for ChildStatus
impl Sync for ChildStatus
impl Unpin for ChildStatus
impl UnsafeUnpin for ChildStatus
impl UnwindSafe for ChildStatus
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