Struct shell::MultiShell
[−]
[src]
pub struct MultiShell { /* fields omitted */ }
Methods
impl MultiShell
[src]
fn new_stdio(verbose: bool) -> MultiShell
fn new(out: Shell, err: Shell, verbose: bool) -> 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,
T: Display,
U: Display,
fn verbose<F>(&mut self, callback: F) -> Result<()> where
F: FnMut(&mut MultiShell) -> Result<()>,
F: FnMut(&mut MultiShell) -> Result<()>,
fn concise<F>(&mut self, callback: F) -> Result<()> where
F: FnMut(&mut MultiShell) -> Result<()>,
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_verbose(&mut self, verbose: bool)
fn get_verbose(&self) -> bool
fn tag<T: Display, U: Display>(&mut self, tag: T, message: U) -> Result<()>
fn header<T: Display>(&mut self, message: T) -> Result<()>
fn comment<T: Display>(&mut self, message: T) -> Result<()>
fn tag_color<T: Display, U: Display>(
&mut self,
tag: T,
message: U,
color: Color
) -> Result<()>
&mut self,
tag: T,
message: U,
color: Color
) -> Result<()>