Skip to main content

EnvSource

Trait EnvSource 

Source
pub trait EnvSource {
    // Required method
    fn get(&self, name: &str) -> Option<String>;
}
Expand description

A read-only view of named environment variables.

Required Methods§

Source

fn get(&self, name: &str) -> Option<String>

The value of name, or None if unset.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§