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.

All labels observed (2)

Label Occurrences
std::env module canonical 1
std::env::ArgsOs 1

How this entity was disambiguated

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
modulePath std::env
partOf Rust standard library
linked to: Rust
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
linked to: std::env module

std::env::JoinPathsError
std::env::VarError
std::env::VarOsError
std::env::Vars
std::env::VarsOs
stableSince Rust 1.0.0
linked to: Rust
supportsPlatform Unix-like operating systems
Windows operating systems
linked to: Windows

macOS
threadSafety follows Rust ownership and borrowing rules for safety
usesErrorType std::env::JoinPathsError
std::env::VarError

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

std (Rust crate) contains std::env module
subject linked to: std
std::env providesType std::env::ArgsOs
subject linked to: std::env module
linked to: std::env module