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
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Executor for DefaultExecutor
[src]
fn init(&self, _cx: &Context, _unit: &Unit)
[src]
Called after a rustc process invocation is prepared up-front for a given unit of work (may still be modified for runtime-known dependencies, when the work is actually executed). Read more
fn exec(
&self,
cmd: ProcessBuilder,
_id: &PackageId,
_target: &Target
) -> CargoResult<()>
[src]
&self,
cmd: ProcessBuilder,
_id: &PackageId,
_target: &Target
) -> CargoResult<()>
In case of an Err
, Cargo will not continue with the build process for this package. Read more
fn exec_json(
&self,
cmd: ProcessBuilder,
_id: &PackageId,
_target: &Target,
handle_stdout: &mut FnMut(&str) -> CargoResult<()>,
handle_stderr: &mut FnMut(&str) -> CargoResult<()>
) -> CargoResult<()>
[src]
&self,
cmd: ProcessBuilder,
_id: &PackageId,
_target: &Target,
handle_stdout: &mut FnMut(&str) -> CargoResult<()>,
handle_stderr: &mut FnMut(&str) -> CargoResult<()>
) -> CargoResult<()>
fn force_rebuild(&self, _unit: &Unit) -> bool
[src]
Queried when queuing each unit of work. If it returns true, then the unit will always be rebuilt, independent of whether it needs to be. Read more