pub fn load_required<T>(key: &str) -> Result<T, String>where
T: FromEnvStr,Expand description
Read a required env var and parse it into T.
Returns Err if the variable is not set or if parsing fails.
pub fn load_required<T>(key: &str) -> Result<T, String>where
T: FromEnvStr,Read a required env var and parse it into T.
Returns Err if the variable is not set or if parsing fails.