Feature gate: #![feature(unix_process_wait_more)]
This is a tracking issue for a collection of logically necessary but previously missing methods on ExitStatusExt, the Unix-specific extension trait for ExitStatus.
Public API
// std::src::sys::unix::ext::process
pub trait ExitStatusExt : private::Sealed {
// this feature gate adds these methods:
fn core_dumped(&self) -> bool; // WCOREDUMP
fn stopped_signal(&self) -> Option<i32>; // WIFSTOPPED? WSTOPSIG
fn continued(&self) -> bool; // WIFCONTINUED
fn into_raw(self) -> i32;
}
Steps / History
Unresolved Questions
- None;
other than the breakage risk due to sealing this trait. the trait has been sealed for some time now.
Feature gate:
#![feature(unix_process_wait_more)]This is a tracking issue for a collection of logically necessary but previously missing methods on
ExitStatusExt, the Unix-specific extension trait forExitStatus.Public API
Steps / History
ExitStatusExttrait on both Unix and WindowsUnresolved Questions
other than the breakage risk due to sealing this trait.the trait has been sealed for some time now.