pub(crate) trait EnvSource: Send + Sync {
// Required methods
fn var(&self, key: &str) -> Option<OsString>;
fn vars(&self) -> Vec<(String, String)>;
}Expand description
Read-only access to the process environment.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".