Skip to main content

env_or_with

Function env_or_with 

Source
pub fn env_or_with(env: &impl Environment, key: &str, default: &str) -> String
Expand description

Read a value through an injected environment, returning a default when absent.