Enum unshare::ExitStatus
[−]
[src]
pub enum ExitStatus { Exited(i8), Signaled(SigNum, bool), }
Variants
Exited(i8)
Process exited normally with some exit code
Signaled(SigNum, bool)
Process was killed by a signal (bool flag is true when core is dumped)
Methods
impl ExitStatus
[src]
Trait Implementations
impl Eq for ExitStatus
[src]
impl PartialEq for ExitStatus
[src]
fn eq(&self, __arg_0: &ExitStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExitStatus) -> bool
This method tests for !=
.
impl Copy for ExitStatus
[src]
impl Clone for ExitStatus
[src]
fn clone(&self) -> ExitStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more