Macros§
- sleep4
std
- A more compact
Thread::sleep
. - thread_
local std
std
Declare a new thread local storage key of typeThreadLocalKey
.
Structs§
- Process
std
std
Representation of a running or exited child process.- Process
Command std
std
A builder for configuring and spawning new processes.- Process
Command Args std
std
An iterator over the command arguments.- Process
Command Envs std
std
An iterator over the command environment variables.- Process
Exit Code std
- ⚖️
std
The status code the process returns to its parent on normal termination. - Process
Exit Status std
- ⚖️
std
Describes the result of a process after it has terminated. - Process
Output std
std
The output of a finished process.- Process
Stderr std
std
A handle to a child process’s stderr.- Process
Stdin std
std
A handle to a child process’s standard input (stdin).- Process
Stdio std
std
Specifies how to handle standard I/O streams inProcessCommand
.- Process
Stdout std
std
A handle to a child process’s standard output (stdout).- Sleep
Spin - Thread
std
std
A handle to a thread.- Thread
Access Error std
- 🚩
std
An error returned byThreadLocalKey::try_with
. - Thread
Builder std
std
Thread factory, which can be used to configure the properties of a new thread.- Thread
Id std
std
A unique identifier for a running thread.- Thread
Join Handle std
std
An owned permission to join on a thread (block on its termination).- Thread
Local Key std
std
A thread local storage key which owns its contents.- Thread
Scope std
std
A scope to spawn scoped threads in.- Thread
Scoped Join Handle std
std
An owned permission to join on a scoped thread (block on its termination).
Enums§
Traits§
- ExtProcess
- 🌐
Extension trait providing additional methods for
Process
es. - ExtThread
- 🌐
Extension trait providing additional methods for
Thread
s. - Process
Termination std
std
A trait for implementing arbitrary return types in themain
function.
Type Aliases§
- Thread
Result std
- ⚖️
std
A specializedResult
type for threads.