pub trait Env {
// Required method
fn var(&self, key: &str) -> Result<Cow<'_, str>, VarError>;
}Expand description
Abstract over std::env for ConfigEnv
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".