Struct conch_runtime::env::LastStatusEnv [] [src]

pub struct LastStatusEnv { /* fields omitted */ }

An environment module for setting and getting the exit status of the last command to run.

Methods

impl LastStatusEnv
[src]

[src]

Initializes a new LastStatusEnv with a successful last status.

[src]

Creates a new LastStatusEnv with a provided last status.

Trait Implementations

impl Debug for LastStatusEnv
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for LastStatusEnv
[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 LastStatusEnv
[src]

impl Clone for LastStatusEnv
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LastStatusEnv
[src]

impl LastStatusEnvironment for LastStatusEnv
[src]

[src]

Get the exit status of the previous command.

[src]

Set the exit status of the previously run command.

impl Default for LastStatusEnv
[src]

[src]

Returns the "default value" for a type. Read more

impl SubEnvironment for LastStatusEnv
[src]

[src]

Create a new sub-environment, which starts out idential to its parent, but any changes on the new environment will not be reflected on the parent. Read more