Module stdio Copy item path Source impl_is_terminal π Stderr A handle to the standard error stream of a process. StderrLock A locked reference to the Stderr
handle. StderrRaw π A handle to a raw instance of the standard output stream of this process. Stdin A handle to the standard input stream of a process. StdinLock A locked reference to the Stdin
handle. StdinRaw π A handle to a raw instance of the standard input stream of this process. Stdout A handle to the global standard output stream of the current process. StdoutLock A locked reference to the Stdout
handle. StdoutRaw π A handle to a raw instance of the standard output stream of this process. OUTPUT_CAPTURE π Used by the test crate to capture the output of the print macros and panics. OUTPUT_CAPTURE_USED π Flag to indicate OUTPUT_CAPTURE is used. STDOUT π IsTerminal Trait to determine if a descriptor/handle refers to a terminal/tty. attempt_print_to_stderr π 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. cleanup handle_ebadf π print_to π Writes args
to the capture buffer if enabled and possible, or global_s
otherwise. label
identifies the stream in a panic message. print_to_buffer_if_capture_used π stderr Constructs a new handle to the standard error of the current process. stdin Constructs a new handle to the standard input of the current process. stdout Constructs a new handle to the standard output of the current process. _eprint π» Experimental _print π» Experimental set_output_capture π» Experimental Sets the thread-local output capture buffer and returns the old one. stderr_raw π Experimental Constructs a new raw handle to the standard error stream of this process. stdin_raw π Experimental Constructs a new raw handle to the standard input of this process. stdout_raw π Experimental Constructs a new raw handle to the standard output stream of this process. try_set_output_capture π» Experimental Tries to set the thread-local output capture buffer and returns the old one.
This may fail once thread-local destructors are called. Itβs used in panic
handling instead of set_output_capture
. LocalStream π