pub struct WasmBuildBatchReport { /* private fields */ }Expand description
Ordered outcomes and failures from a collect-all Wasm build batch.
Implementations§
Source§impl WasmBuildBatchReport
impl WasmBuildBatchReport
Sourcepub fn results(&self) -> &[Result<WasmBuildOutcome, WasmBuildError>]
pub fn results(&self) -> &[Result<WasmBuildOutcome, WasmBuildError>]
Per-specification results in the supplied order.
Sourcepub fn into_results(self) -> Vec<Result<WasmBuildOutcome, WasmBuildError>>
pub fn into_results(self) -> Vec<Result<WasmBuildOutcome, WasmBuildError>>
Consume the report and return its ordered per-specification results.
Sourcepub fn outcomes(&self) -> impl Iterator<Item = (usize, &WasmBuildOutcome)>
pub fn outcomes(&self) -> impl Iterator<Item = (usize, &WasmBuildOutcome)>
Successful outcomes with their specification indexes.
Sourcepub fn failures(&self) -> impl Iterator<Item = (usize, &WasmBuildError)>
pub fn failures(&self) -> impl Iterator<Item = (usize, &WasmBuildError)>
Failures with their specification indexes.
Integrated shared-target maintenance outcomes with their build indexes.
Batch-owned maintenance contributes at most one outcome for each distinct configured shared-target path.
Sourcepub const fn total(&self) -> Duration
pub const fn total(&self) -> Duration
Complete wall-clock time for the sequential collect-all batch.
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether every specification completed successfully.
Trait Implementations§
Source§impl Debug for WasmBuildBatchReport
impl Debug for WasmBuildBatchReport
Auto Trait Implementations§
impl !RefUnwindSafe for WasmBuildBatchReport
impl !UnwindSafe for WasmBuildBatchReport
impl Freeze for WasmBuildBatchReport
impl Send for WasmBuildBatchReport
impl Sync for WasmBuildBatchReport
impl Unpin for WasmBuildBatchReport
impl UnsafeUnpin for WasmBuildBatchReport
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