Trait action_core::env::Read

source ·
pub trait Read {
    // Required method
    fn get(&self, key: &str) -> Result<String, VarError>;
}

Required Methods§

source

fn get(&self, key: &str) -> Result<String, VarError>

Get value from environment.

Errors

When the environment variable is not present.

Implementors§

source§

impl Read for Std

source§

impl<T> Read for Twhere T: Borrow<HashMap<String, String>>,