Skip to main content

var

Function var 

Source
pub fn var(key: &str) -> Result<String, VarError>
Expand description

Read key, honouring a test overlay if one is set on this thread.

ยงErrors

Returns VarError::NotPresent when the overlay unsets key or when the real process environment has no such variable.