CargoCommandExt

Trait CargoCommandExt 

Source
pub trait CargoCommandExt {
    // Required methods
    fn spawn_cargo_capture(
        &mut self,
        builder: Arc<CargoCommandBuilder>,
        stdout_dispatcher: Option<Arc<EventDispatcher>>,
        stderr_dispatcher: Option<Arc<EventDispatcher>>,
        progress_dispatcher: Option<Arc<EventDispatcher>>,
        stage_dispatcher: Option<Arc<EventDispatcher>>,
        estimate_bytes: Option<usize>,
    ) -> CargoProcessHandle;
    fn spawn_cargo_passthrough(
        &mut self,
        builder: Arc<CargoCommandBuilder>,
    ) -> CargoProcessHandle;
}
Expand description

Extension trait to add cargo-specific capture capabilities to Command.

Required Methods§

Source

fn spawn_cargo_capture( &mut self, builder: Arc<CargoCommandBuilder>, stdout_dispatcher: Option<Arc<EventDispatcher>>, stderr_dispatcher: Option<Arc<EventDispatcher>>, progress_dispatcher: Option<Arc<EventDispatcher>>, stage_dispatcher: Option<Arc<EventDispatcher>>, estimate_bytes: Option<usize>, ) -> CargoProcessHandle

Source

fn spawn_cargo_passthrough( &mut self, builder: Arc<CargoCommandBuilder>, ) -> CargoProcessHandle

Implementors§