pub trait Environment: Send + Sync {
// Required method
fn var(&self, name: &str) -> Option<String>;
}Expand description
The process environment, injectable so tests never read the real one.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".