pub struct BuildJob {
pub config: BuildConfig,
pub stage: BuildStage,
pub log: Vec<String>,
pub exit_code: Option<i32>,
pub staging_dir: String,
pub build_dir: String,
}Expand description
Build job status
Fields§
§config: BuildConfig§stage: BuildStage§log: Vec<String>§exit_code: Option<i32>§staging_dir: String§build_dir: StringImplementations§
Source§impl BuildJob
impl BuildJob
pub fn new(config: BuildConfig) -> Self
pub fn log_message(&mut self, msg: &str)
pub fn is_complete(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildJob
impl RefUnwindSafe for BuildJob
impl Send for BuildJob
impl Sync for BuildJob
impl Unpin for BuildJob
impl UnwindSafe for BuildJob
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)