pub struct Job { /* private fields */ }Implementations§
Source§impl Job
impl Job
pub fn new<S>(target: &str, deps: Vec<S>, cmd: RobCommand) -> Job
pub fn target(&self) -> &String
pub fn deps(&self) -> &Vec<String>
pub fn cmd(&self) -> &RobCommand
pub fn cfg(&self) -> &Config
pub fn cfg_mut(&mut self) -> &mut Config
pub fn reusable_cmd(&mut self, reusable_cmd: bool) -> &mut Self
pub fn phony(&mut self, phony: bool) -> &mut Self
pub fn keepgoing(&mut self, keepgoing: bool) -> &mut Self
pub fn echo(&mut self, echo: bool) -> &mut Self
pub fn needs_rebuild(&self) -> RobResult<bool>
pub fn execute_async_dont_exit(&mut self) -> RobResult<Vec<Output>>
pub fn execute_async(&mut self) -> RobResult<Vec<Output>>
pub fn execute_sync_dont_exit(&mut self) -> RobResult<Vec<Output>>
pub fn execute_sync(&mut self) -> RobResult<Vec<Output>>
pub fn execute_async_dont_exit_unchecked(&mut self) -> RobResult<Vec<Output>>
pub fn execute_async_unchecked(&mut self) -> RobResult<Vec<Output>>
pub fn execute_sync_dont_exit_unchecked(&mut self) -> RobResult<Vec<Output>>
pub fn execute_sync_unchecked(&mut self) -> RobResult<Vec<Output>>
Trait Implementations§
impl Eq for Job
impl StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more