Function forest_filecoin::utils::misc::env::env_or_default

source ยท
pub fn env_or_default<T: FromStr>(key: &str, default: T) -> T
Expand description

Get the value of an environment variable, or a default value if it is not set or cannot be parsed.