Struct wait_timeout::ExitStatus [] [src]

pub struct ExitStatus(_);

Exit status from a child process.

This type mirrors that in std::process but currently must be distinct as the one in std::process cannot be created.

Methods

impl ExitStatus
[src]

Returns whether this exit status represents a successful execution.

This typically means that the child process successfully exited with a status code of 0.

Returns the code associated with the child's exit event.

On Unix this can return None if the child instead exited because of a signal. On Windows, however, this will always return Some.

Returns the Unix signal which terminated this process.

Note that on Windows this will always return None and on Unix this will return None if the process successfully exited otherwise.

Trait Implementations

impl Eq for ExitStatus
[src]

impl PartialEq for ExitStatus
[src]

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

This method tests for !=.

impl Copy for ExitStatus
[src]

impl Clone for ExitStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExitStatus
[src]

Formats the value using the given formatter.

impl Display for ExitStatus
[src]

Formats the value using the given formatter.