Struct std::io::StdoutLock1.0.0 [] [src]

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

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>
[src]

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