Struct bitflags::__core::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, Error>

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

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

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

fn by_ref(&mut self) -> &mut Self

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