pub trait EnvSource {
// Required method
fn var(&self, key: &str) -> Option<OsString>;
}Expand description
A source of environment variables, so resolution can be tested without touching the real process environment.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".