Expand description
FromEnv, FromEnvVar traits and related utilities.
Enums§
- From
EnvErr - Error type for loading from the environment. See the
FromEnvtrait for more information.
Traits§
- FromEnv
- Trait for loading from the environment.
- From
EnvVar - Trait for loading primitives from the environment. These are simple types
that should correspond to a single environment variable. It has been
implemented for common integer types,
String,url::Url,tracing::Level, andstd::time::Duration.
Functions§
- parse_
env_ if_ present - Convenience function for parsing a value from the environment, if present and non-empty.