[][src]Function kankyo::snapshot

pub fn snapshot() -> HashMap<String, String>

Creates a snapshot of the present environment variables.

This is similar to std::env::vars, but will instead return a HashMap over only the environment variables that are valid UTF-8.

Examples

let snapshot = kankyo::snapshot();

try!(kankyo::load(false));