Struct cargo::core::shell::MultiShell [] [src]

pub struct MultiShell {
    // some fields omitted
}

Methods

impl MultiShell
[src]

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) -> CargoResult<()>

fn status<T, U>(&mut self, status: T, message: U) -> CargoResult<()> where T: Display, U: Display

fn verbose<F>(&mut self, callback: F) -> CargoResult<()> where F: FnMut(&mut MultiShell) -> CargoResult<()>

fn concise<F>(&mut self, callback: F) -> CargoResult<()> where F: FnMut(&mut MultiShell) -> CargoResult<()>

fn error<T: Display>(&mut self, message: T) -> CargoResult<()>

fn warn<T: Display>(&mut self, message: T) -> CargoResult<()>

fn set_verbosity(&mut self, verbosity: Verbosity)

fn set_color_config(&mut self, color: Option<&str>) -> CargoResult<()>

fn get_verbose(&self) -> Verbosity

fn color_config(&self) -> ColorConfig