Struct cargo::ops::DefaultExecutor
[−]
[src]
pub struct DefaultExecutor;
A DefaultExecutor calls rustc without doing anything else. It is Cargo's default behaviour.
Trait Implementations
impl Copy for DefaultExecutor
[src]
impl Clone for DefaultExecutor
[src]
fn clone(&self) -> DefaultExecutor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Executor for DefaultExecutor
[src]
fn init(&self, _cx: &Context)
fn exec(&self, cmd: ProcessBuilder, _id: &PackageId) -> CargoResult<()>
If execution succeeds, the ContinueBuild value indicates whether Cargo should continue with the build process for this package. Read more
fn exec_json(
&self,
cmd: ProcessBuilder,
_id: &PackageId,
handle_stdout: &mut FnMut(&str) -> CargoResult<()>,
handle_stderr: &mut FnMut(&str) -> CargoResult<()>
) -> CargoResult<()>
&self,
cmd: ProcessBuilder,
_id: &PackageId,
handle_stdout: &mut FnMut(&str) -> CargoResult<()>,
handle_stderr: &mut FnMut(&str) -> CargoResult<()>
) -> CargoResult<()>