Function env_parser::read_env

source ·
pub fn read_env<T: Transform>(env_reader: &mut EnvReader<'_, T>)
Expand description

Reads and transformers the env file. Note: when parsing a value, it will do in this order: Try to convert it into… 1. i32 2. f32 3. String (always succeeds) If you want a different type to be parsed, do that in the transformer trait.