Trait conch_runtime::env::ExportedVariableEnvironment [] [src]

pub trait ExportedVariableEnvironment: VariableEnvironment {
    fn exported_var(&self, name: &Self::VarName) -> Option<(&Self::Var, bool)>;
fn set_exported_var(
        &mut self,
        name: Self::VarName,
        val: Self::Var,
        exported: bool
    ); }

An interface for setting and getting shell and environment variables and controlling whether or not they can appear as environment variables to subprocesses.

Required Methods

Get the value of some variable and whether it is exported.

Set the value of some variable, and set it's exported status as specified.

Implementors