Trait git_config_env::Env

source ·
pub trait Env {
    // Required method
    fn var(&self, key: &str) -> Result<Cow<'_, str>, VarError>;
}
Expand description

Abstract over std::env for ConfigEnv

Required Methods§

source

fn var(&self, key: &str) -> Result<Cow<'_, str>, VarError>

Implementations on Foreign Types§

source§

impl Env for HashMap<String, String>

source§

fn var(&self, key: &str) -> Result<Cow<'_, str>, VarError>

Implementors§