Crate viro

Source
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.
EnvironParts
Iterator over the OsStr components of all Vars.
Scalar
Accessed scalar.
ScalarParts
Iterator over the OsStr components of a Scalar.
Vector
Accessed vector.
VectorParts
Iterator over the OsStr components of a Vector.
Viro
An environment.

Enums§

Var
Accessed variable.
VarParts
Iterator over the OsStr components of a Var.