Module env

Source
Expand description

Inspection and manipulation of the process’s environment.

Extends: std::{env}


Macros§

env_
core Inspects an environment variable at compile time.
option_env
core Optionally inspects an environment variable at compile time.

Structs§

AppApplestd
Apple enviroment for directories.
AppConfigstd
Application specific metadata.
AppUnixstd
Unix enviroment for directories.
AppWindowsstd
Windows enviroment for directories.
AppXdgstd
Xdg enviroment for directories.
Env
🌐 A namespaced wrapper for std::env functions and constants.
IterArgsstd
🔄 std Iterates over the arguments of a process, yielding them as Strings.
IterArgsOsstd
🔄 std Iterates over the arguments of a process, yielding them as OsStrings.
IterSplitPathsstd
🔄 std An iterator that splits an environment variable into paths.
IterVarsstd
🔄 std An iterator over a snapshot of the environment variables of this process.
IterVarsOsstd
🔄 std An iterator over a snapshot of the environment variables of this process.
JoinPathsErrorstd
🚩 std Returned from Env::join_paths.

Enums§

VarErrorstd
🚩 std Returned from Env::var.

Traits§

AppEnvstd
Manages directory paths in an environment-aware manner.