Enum tabox::result::ExitStatus [−][src]
Expand description
Exit status of a sandbox process
Variants
ExitCode(i32)
Tuple Fields
0: i32
Process terminated with an exit code
Signal(i32)
Tuple Fields
0: i32
Process was killed with a signal
Killed
Process was killed by the sandbox (e.g for exceeding wall time limit)
Implementations
Return the name of the signal, if the status is ExitStatus::Signal
, otherwise None
is
returned.
If the signal name is not available, None
is returned.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExitStatus
impl Send for ExitStatus
impl Sync for ExitStatus
impl Unpin for ExitStatus
impl UnwindSafe for ExitStatus
Blanket Implementations
Mutably borrows from an owned value. Read more