OutputExt

Trait OutputExt 

Source
pub trait OutputExt {
    // Required methods
    fn stdout_str(&self) -> &str;
    fn stderr_str(&self) -> &str;
}
Expand description

Extension methods for std::process::Output.

Required Methods§

Source

fn stdout_str(&self) -> &str

Get standard output as a str.

Source

fn stderr_str(&self) -> &str

Get standard error as a str.

Implementations on Foreign Types§

Source§

impl OutputExt for Output

Source§

fn stdout_str(&self) -> &str

Source§

fn stderr_str(&self) -> &str

Implementors§