Skip to main content

CommandLogExt

Trait CommandLogExt 

Source
pub trait CommandLogExt {
    // Required methods
    fn spawn_with_log(&mut self) -> Result<Child>;
    fn output_with_log(&mut self) -> Result<Output>;

    // Provided method
    fn status_with_log(&mut self) -> Result<ExitStatus> { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl CommandLogExt for Command

Implementors§