Struct std::io::StdoutLock [] [src]

pub struct StdoutLock<'a> {
    // some fields omitted
}
1.0.0

A locked reference to the Stdout handle.

This handle implements the Write trait, and is constructed via the Stdout::lock method.

Trait Implementations

impl<'a> Write for StdoutLock<'a>

fn write(&mut self, buf: &[u8]) -> Result<usize>

fn flush(&mut self) -> Result<()>

fn write_all(&mut self, buf: &[u8]) -> Result<()>

fn write_fmt(&mut self, fmt: Arguments) -> Result<()>

fn by_ref(&mut self) -> &mut Self where Self: Sized