Skip to main content

load

Function load 

Source
pub fn load(path: &Path) -> Result<Vec<String>, String>
Expand description

Sets each variable in the file at path that is not already set, and returns their names. A missing file sets nothing. Call it before any threads start: it uses std::env::set_var.