Trait conch_runtime::env::LastStatusEnvironment [] [src]

pub trait LastStatusEnvironment {
    fn last_status(&self) -> ExitStatus;
fn set_last_status(&mut self, status: ExitStatus); }

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

Required Methods

Get the exit status of the previous command.

Set the exit status of the previously run command.

Implementations on Foreign Types

impl<'a, T: ?Sized + LastStatusEnvironment> LastStatusEnvironment for &'a mut T
[src]

[src]

[src]

Implementors