Trait AsyncCommandRunExt

Source
pub trait AsyncCommandRunExt {
    // Required method
    async fn run(&mut self) -> Result<()>;
}
Expand description

Helpers intended for tokio::process::Command.

Required Methods§

Source

async fn run(&mut self) -> Result<()>

Asynchronously execute the child, and return an error if the child exited unsuccessfully.

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 AsyncCommandRunExt for Command

Source§

async fn run(&mut self) -> Result<()>

Implementors§