Skip to main content

CliIo

Trait CliIo 

Source
pub trait CliIo {
    // Required methods
    fn stdout(&mut self, output: &str) -> Result<()>;
    fn stderr(&mut self, output: &str) -> Result<()>;
    fn confirm_destructive(&mut self, action: &str) -> Result<()>;
}

Required Methods§

Source

fn stdout(&mut self, output: &str) -> Result<()>

Source

fn stderr(&mut self, output: &str) -> Result<()>

Source

fn confirm_destructive(&mut self, action: &str) -> Result<()>

Implementors§