Skip to main content

required

Function required 

Source
pub fn required(name: &'static str) -> Result<String, EnvError>
Expand description

Reads a required variable, returning an error if absent or non-Unicode. Empty strings are accepted; callers validate the value.