CommandExt

Trait CommandExt 

Source
pub trait CommandExt {
    // Required methods
    fn inherit(&mut self);
    fn wait_and_check(&mut self);
    fn wait(&mut self);
    fn print(&mut self) -> &mut Self;
    fn rust_log(&mut self, log_option: Option<&str>) -> &mut Self;
}

Required Methods§

Source

fn inherit(&mut self)

Source

fn wait_and_check(&mut self)

Source

fn wait(&mut self)

Source

fn print(&mut self) -> &mut Self

Source

fn rust_log(&mut self, log_option: Option<&str>) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CommandExt for Command

Source§

fn inherit(&mut self)

execute and ensure command has been executed ok

Source§

fn wait_and_check(&mut self)

execute and ensure command has been executed ok

Source§

fn wait(&mut self)

execute and wait, ignore error

Source§

fn print(&mut self) -> &mut Self

Source§

fn rust_log(&mut self, log_option: Option<&str>) -> &mut Self

Implementors§