MCPcopy Index your code
hub / github.com/bootc-dev/bootc / AsyncCommandRunExt

Interface AsyncCommandRunExt

crates/utils/src/command.rs:216–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214/// Helpers intended for [`tokio::process::Command`].
215#[allow(async_fn_in_trait)]
216pub trait AsyncCommandRunExt {
217 /// Asynchronously execute the child, and return an error if the child exited unsuccessfully.
218 async fn run(&mut self) -> Result<()>;
219}
220
221impl AsyncCommandRunExt for tokio::process::Command {
222 async fn run(&mut self) -> Result<()> {

Callers

nothing calls this directly

Implementers 1

command.rscrates/utils/src/command.rs

Calls

no outgoing calls

Tested by

no test coverage detected