Trait std::os::unix::process::ExitStatusExt    1.0.0
                   
                       [−]
                   
               [src]
pub trait ExitStatusExt {
    fn from_raw(raw: i32) -> Self;
    fn signal(&self) -> Option<i32>;
}This is supported on Unix only.
Unix-specific extensions to std::process::ExitStatus
Required Methods
fn from_raw(raw: i32) -> Self1.12.0
This is supported on Unix only.
Creates a new ExitStatus from the raw underlying i32 return value of
a process.
fn signal(&self) -> Option<i32>
This is supported on Unix only.
If the process was terminated by a signal, returns that signal.
Implementors
- impl ExitStatusExt for ExitStatus