Macros
Structs
- A handle to the standard error stream of a process.
- A locked reference to the
Stderr
handle. - A handle to a raw instance of the standard output stream of this process.
- A handle to the standard input stream of a process.
- A locked reference to the
Stdin
handle. - StdinRaw 🔒A handle to a raw instance of the standard input stream of this process.
- A handle to the global standard output stream of the current process.
- A locked reference to the
Stdout
handle. - A handle to a raw instance of the standard output stream of this process.
Constants
- Used by the test crate to capture the output of the print macros and panics.
Statics
- Flag to indicate OUTPUT_CAPTURE is used.
- STDOUT 🔒
Traits
- Trait to determine if a descriptor/handle refers to a terminal/tty.
Functions
- _eprintExperimental
- _printExperimental
- Used by impl Termination for Result to print error after
main
or a test has returned. Should avoid panicking, although we can’t help it if one of the Display impls inside args decides to. - print_to 🔒Write
args
to the capture buffer if enabled and possible, orglobal_s
otherwise.label
identifies the stream in a panic message. - set_output_captureExperimentalSets the thread-local output capture buffer and returns the old one.
- Constructs a new raw handle to the standard error stream of this process.
- Constructs a new raw handle to the standard input of this process.
- Constructs a new raw handle to the standard output stream of this process.
- Constructs a new handle to the standard error of the current process.
- Constructs a new handle to the standard input of the current process.
- Constructs a new handle to the standard output of the current process.