Struct std::io::StdoutLock 1.0.0[−][src]
pub struct StdoutLock<'a> { /* fields omitted */ }
Expand description
A locked reference to the Stdout
handle.
This handle implements the Write
trait, and is constructed via
the Stdout::lock
method. See its documentation for more.
Note: Windows Portability Consideration
When operating in a console, the Windows implementation of this stream does not support non-UTF-8 byte sequences. Attempting to write bytes that are not valid UTF-8 will return an error.
Trait Implementations
Extracts the raw handle, without taking any ownership.
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
Attempts to write an entire buffer into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more