env
Module: env
Section titled “Module: env”Contents
Section titled “Contents”Structs
ExecutionEnv- Environment variables handed to the wrapped process for one launch.
firma_run::env::ExecutionEnv
Section titled “firma_run::env::ExecutionEnv”Struct
Environment variables handed to the wrapped process for one launch.
Start from [ExecutionEnv::new], then chain the with_* methods in
precedence order, lowest priority first. Each one overwrites keys set
before it.
Methods:
fn get(self: &Self, key: &str) -> Option<&String>- Return the value set forkey, if any.fn is_empty(self: &Self) -> bool- Return whether no variable is set.
Traits: Eq
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Default
fn default() -> ExecutionEnv
- PartialEq
fn eq(self: &Self, other: &ExecutionEnv) -> bool
- Clone
fn clone(self: &Self) -> ExecutionEnv
- From
fn from(vars: BTreeMap<String, String>) -> Self