Struct cargo::core::shell::MultiShell
[−]
[src]
pub struct MultiShell { // some fields omitted }
Methods
impl MultiShell
fn new(out: Shell, err: Shell, verbosity: Verbosity) -> MultiShell
fn out(&mut self) -> &mut Shell
fn err(&mut self) -> &mut Shell
fn say<T: ToString>(&mut self, message: T, color: Color) -> Result<()>
fn status<T, U>(&mut self, status: T, message: U) -> Result<()> where T: Display, U: Display
fn verbose<F>(&mut self, callback: F) -> Result<()> where F: FnMut(&mut MultiShell) -> Result<()>
fn concise<F>(&mut self, callback: F) -> Result<()> where F: FnMut(&mut MultiShell) -> Result<()>
fn error<T: ToString>(&mut self, message: T) -> Result<()>
fn warn<T: ToString>(&mut self, message: T) -> Result<()>
fn set_verbosity(&mut self, verbose: bool, quiet: bool) -> CargoResult<()>
fn set_verbose(&mut self, verbose: bool)
shortcut for commands that don't have both --verbose and --quiet