std::env module
E440680
The std::env module in Rust provides functions and types for interacting with the process’s environment, including environment variables, command-line arguments, and current working directory.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| std::env | 0 |
Statements (45)
| Predicate | Object |
|---|---|
| instanceOf | Rust standard library module ⓘ |
| category |
I/O and system interaction
ⓘ
process environment management ⓘ |
| designedFor | interacting with the process environment ⓘ |
| documentationUrl | https://doc.rust-lang.org/std/env/index.html ⓘ |
| hasResponsibility |
accessing environment variables
ⓘ
changing current working directory ⓘ handling platform-specific environment behavior ⓘ locating current executable ⓘ modifying environment variables ⓘ querying current working directory ⓘ reading command-line arguments ⓘ |
| language | Rust NERFINISHED ⓘ |
| modulePath | std::env ⓘ |
| partOf | Rust standard library NERFINISHED ⓘ |
| providesFunction |
std::env::args
ⓘ
std::env::args_os ⓘ std::env::current_dir ⓘ std::env::current_exe ⓘ std::env::home_dir ⓘ std::env::join_paths ⓘ std::env::remove_var ⓘ std::env::set_current_dir ⓘ std::env::set_var ⓘ std::env::set_var_os ⓘ std::env::split_paths ⓘ std::env::temp_dir ⓘ std::env::var ⓘ std::env::var_os ⓘ std::env::vars ⓘ std::env::vars_os ⓘ |
| providesType |
std::env::Args
ⓘ
std::env::ArgsOs NERFINISHED ⓘ std::env::JoinPathsError ⓘ std::env::VarError ⓘ std::env::VarOsError ⓘ std::env::Vars ⓘ std::env::VarsOs ⓘ |
| stableSince | Rust 1.0.0 NERFINISHED ⓘ |
| supportsPlatform |
Unix-like operating systems
ⓘ
Windows operating systems NERFINISHED ⓘ macOS ⓘ |
| threadSafety | follows Rust ownership and borrowing rules for safety ⓘ |
| usesErrorType |
std::env::JoinPathsError
ⓘ
std::env::VarError ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.