Struct std::io::StdoutLock [] [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 lock method on Stdout.

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

fn broadcast<W: Write>(self, other: W) -> Broadcast<Self, W> where Self: Sized