[−][src]Function nyx::write::stderr
ⓘImportant traits for Writer<W, F>
pub fn stderr<W: Write>(writer: W) -> Writer<W, impl FnMut(Bps)>
Creates a writer that yields the bytes by printing it to stderr
.
Examples
use std::io; fn main() { io::copy(&mut io::repeat(0), &mut nyx::write::stderr(io::sink())).unwrap(); }