Enum conch_runtime::ExitStatus [] [src]

pub enum ExitStatus {
    Code(i32),
    Signal(i32),
}

Describes the result of a process after it has terminated.

Variants

Normal termination with an exit code.

Termination by signal, with the signal number.

Never generated on Windows.

Methods

impl ExitStatus
[src]

[src]

Was termination successful? Signal termination not considered a success, and success is defined as a zero exit status.

Trait Implementations

impl PartialEq for ExitStatus
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ExitStatus
[src]

impl Clone for ExitStatus
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ExitStatus
[src]

impl Debug for ExitStatus
[src]

[src]

Formats the value using the given formatter.

impl Display for ExitStatus
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ExitStatus> for ExitStatus
[src]

[src]

Performs the conversion.