Struct cargo::core::shell::MultiShell
[−]
[src]
pub struct MultiShell { /* fields omitted */ }
Methods
impl MultiShell
[src]
fn new(out: Shell, err: Shell, verbosity: Verbosity) -> MultiShell
fn from_write(out: Box<Write + Send>, err: Box<Write + Send>) -> MultiShell
fn out(&mut self) -> &mut Shell
fn err(&mut self) -> &mut Shell
fn say<T: ToString>(&mut self, message: T, color: Color) -> CargoResult<()>
fn status<T, U>(&mut self, status: T, message: U) -> CargoResult<()> where
T: Display,
U: Display,
T: Display,
U: Display,
fn verbose<F>(&mut self, callback: F) -> CargoResult<()> where
F: FnMut(&mut MultiShell) -> CargoResult<()>,
F: FnMut(&mut MultiShell) -> CargoResult<()>,
fn concise<F>(&mut self, callback: F) -> CargoResult<()> where
F: FnMut(&mut MultiShell) -> CargoResult<()>,
F: FnMut(&mut MultiShell) -> CargoResult<()>,