Struct borsh::maybestd::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
Write a buffer into this writer, returning how many bytes were written. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. 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
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more