Struct yacli::MultiShell []

pub struct MultiShell {
    // some fields omitted
}

Methods

impl MultiShell

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>(&mut self, message: T, color: u16) -> Result<()Error> where T: ToString

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

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

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

fn error<T>(&mut self, message: T) -> Result<()Error> where T: ToString

fn warn<T>(&mut self, message: T) -> Result<()Error> where T: ToString

fn set_verbose(&mut self, verbose: bool)

fn get_verbose(&self) -> bool

fn tag<T, U>(&mut self, tag: T, message: U) -> Result<()Error> where T: Display, U: Display

fn header<T>(&mut self, message: T) -> Result<()Error> where T: Display

fn comment<T>(&mut self, message: T) -> Result<()Error> where T: Display

fn tag_color<T, U>(&mut self, tag: T, message: U, color: u16) -> Result<()Error> where T: Display, U: Display

fn error_full(&mut self, e: &Error, show_cause: bool) -> Result<()Error>