pub trait ExitStatusExt { fn from_raw(raw: i32) -> Self; fn signal(&self) -> Option<i32>; }
Unix-specific extensions to process::ExitStatus
.
fn from_raw(raw: i32) -> Self
1.12.0
Creates a new ExitStatus
from the raw underlying i32
return value of a process.
fn signal(&self) -> Option<i32>
If the process was terminated by a signal, returns that signal.
impl ExitStatusExt for ExitStatus
[src]
© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/unix/process/trait.ExitStatusExt.html