1.0.0[][src]Trait std::os::unix::process::ExitStatusExt

pub trait ExitStatusExt {
    pub fn from_raw(raw: i32) -> Self;
pub fn signal(&self) -> Option<i32>; }
This is supported on Unix only.

Unix-specific extensions to process::ExitStatus.

Required methods

pub fn from_raw(raw: i32) -> Self1.12.0[src]

Creates a new ExitStatus from the raw underlying i32 return value of a process.

pub fn signal(&self) -> Option<i32>[src]

If the process was terminated by a signal, returns that signal.

Loading content...


impl ExitStatusExt for ExitStatus[src]

Loading content...