Expand description
Loads your environment so you don’t have to.
This is intended as a portable way to share environments between processes, particularly for
loading scripts in /etc/profile.d
.
This crate offers a simple way of serializing an environment and a binary that can both read environment variables from stdin and combine them into stdout.
See the Viro
type for more details.
Structs§
- Environ
- Iterator over all variables in the environment.
- Environ
Parts - Iterator over the
OsStr
components of allVar
s. - Scalar
- Accessed scalar.
- Scalar
Parts - Iterator over the
OsStr
components of aScalar
. - Vector
- Accessed vector.
- Vector
Parts - Iterator over the
OsStr
components of aVector
. - Viro
- An environment.