Skip to main content

var

Function var 

Source
pub fn var(name: &str) -> Option<&'static str>
Expand description

$NAME as UTF-8, or None when unset or not UTF-8 (std::env::var’s two Err cases, which the old std reader also treated as unset).

name is a Rust string; one longer than 63 bytes, or one holding a NUL, is no variable this tree reads and answers None.