pub trait EnvProvider: Send + Sync {
// Required method
fn get(&self, key: &str) -> Option<String>;
// Provided method
fn contains(&self, key: &str) -> bool { ... }
}Expand description
Trait for environment variable access.
pub trait EnvProvider: Send + Sync {
// Required method
fn get(&self, key: &str) -> Option<String>;
// Provided method
fn contains(&self, key: &str) -> bool { ... }
}Trait for environment variable access.