[−][src]Struct cargo_task::cargo_task_util::CTEnv
Cargo-task environment info struct.
Fields
cargo_path: PathBufThe path to the cargo binary.
cargo_task_path: PathBufThe .cargo-task directory.
cargo_task_target: PathBufThe targe dir for cargo-task builds.
work_dir: PathBufThe root of the cargo task execution environment.
task_list: Vec<String>Task list specified by user.
arg_list: Vec<String>Additional arguments specified by user.
tasks: BTreeMap<String, CTTaskMeta>All tasks defined in the task directory.
Implementations
impl CTEnv[src]
pub fn cargo(&self) -> Command[src]
Create a new cargo std::process::Command
pub fn exec(&self, cmd: Command) -> Result<()>[src]
Execute a rust std::process::Command
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CTEnv
impl Send for CTEnv
impl Sync for CTEnv
impl Unpin for CTEnv
impl UnwindSafe for CTEnv
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,