Module prelude
Source - env
- Inspection and manipulation of the process’s environment.
- fs
- Filesystem manipulation operations.
- io
- Traits, helpers, and type definitions for core I/O functionality.
- mpsc
- Multi-producer, single-consumer FIFO queue communication primitives.
- debug
- Logs a message at the debug level.
- env
- Inspects an environment variable at compile time.
- error
- Logs a message at the error level.
- info
- Logs a message at the info level.
- log_enabled
- Determines if a message logged at the specified level in that module will
be logged.
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically
Reference Counted’.
- Child
- Representation of a running or exited child process.
- Command
- A process builder, providing fine-grained control
over how a new process should be spawned.
- Instant
- A measurement of a monotonically nondecreasing clock.
Opaque and useful only with
Duration. - Mutex
- A mutual exclusion primitive useful for protecting shared data
- Path
- A slice of a path (akin to
str). - PathBuf
- An owned, mutable path (akin to
String). - Stdio
- Describes what to do with a standard I/O stream for a child process when
passed to the
stdin, stdout, and stderr methods of Command.
- Level
- An enum representing the available verbosity levels of the logger.
- Error
Error is a trait representing the basic expectations for error values,
i.e., values of type E in Result<T, E>.
- exit
- Terminates the current process with the specified exit code.