Module conch_runtime::env
[−]
[src]
This module defines various interfaces and implementations of shell environments.
See the documentation around Env
or DefaultEnv
to get started.
Modules
atomic |
A module which provides atomic implementations (which can be |
Structs
ArgsEnv |
An environment module for setting and getting shell and function arguments. |
Child |
A future that will wait for a child process to exit. |
Env |
A shell environment implementation which delegates work to other environment implementations. |
EnvConfig |
A struct for configuring a new |
ExecEnv |
An |
ExecutableData |
Any data required to execute a child process. |
FileDescEnv |
An environment module for setting and getting shell file descriptors. |
FnEnv |
An environment module for setting and getting shell functions. |
LastStatusEnv |
An environment module for setting and getting the exit status of the last command to run. |
PlatformSpecificAsyncIoEnv |
A platform specific environment efficiently using a |
PlatformSpecificRead |
A platform specific adapter for async reads from a |
PlatformSpecificWriteAll |
A platform specific future that will write some data to a |
ReadAsync |
An adapter for async reads from a |
RedirectRestorer |
Maintains a state of all file descriptors that have been modified so that they can be restored later. |
ThreadPoolAsyncIoEnv |
An |
VarEnv |
An environment module for setting and getting shell variables. |
VarRestorer |
Maintains a state of all variable definitions that have been modified so that they can be restored later. |
VirtualWorkingDirEnv |
An environment module for keeping track of the current working directory. |
Traits
ArgumentsEnvironment |
An interface for getting shell and function arguments. |
AsyncIoEnvironment |
An interface for performing async operations on |
ChangeWorkingDirectoryEnvironment |
An interface for changing the shell's current working directory. |
ExecutableEnvironment |
An interface for asynchronously spawning executables. |
ExportedVariableEnvironment |
An interface for setting and getting shell and environment variables and controlling whether or not they can appear as environment variables to subprocesses. |
FileDescEnvironment |
An interface for setting and getting shell file descriptors. |
FunctionEnvironment |
An interface for setting and getting shell functions. |
IsInteractiveEnvironment |
An interface for checking if the current environment is an interactive one. |
LastStatusEnvironment |
An interface for setting and getting the exit status of the last command to run. |
RedirectEnvRestorer |
An interface for maintaining a state of all file descriptors that have been modified so that they can be restored later. |
ReportErrorEnvironment |
An interface for reporting arbitrary errors. |
SetArgumentsEnvironment |
An interface for setting shell and function arguments. |
ShiftArgumentsEnvironment |
An interface for shifting positional shell and function arguments. |
StringWrapper |
An interface for any |
SubEnvironment |
An interface for all environments that can produce another environment, identical to itself, but any changes applied to the sub environment will not be reflected on the parent. |
UnsetFunctionEnvironment |
An interface for unsetting shell functions. |
UnsetVariableEnvironment |
An interface for unsetting shell and envrironment variables. |
VarEnvRestorer |
An interface for maintaining a state of all variable definitions that have been modified so that they can be restored later. |
VarEnvRestorer2 |
A corrected extension of the |
VariableEnvironment |
An interface for setting and getting shell and environment variables. |
WorkingDirectoryEnvironment |
An interface for working with the shell's current working directory. |
Type Definitions
DefaultEnv |
A default environment configured with provided (non-atomic) implementations. |
DefaultEnvConfig |
A default environment configuration using provided (non-atomic) implementations,
and powered by |
DefaultEnvConfigRc |
A default environment configuration using provided (non-atomic) implementations.
and |
DefaultEnvRc |
A default environment configured with provided (non-atomic) implementations,
and |