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 entry_elapsed(&self) -> &[Duration]
pub fn entry_elapsed(&self) -> &[Duration]
Wall-clock time retained for every entry, including failed entries.
Values use the supplied specification order and include batch-owned validation plus the complete acquisition attempt for that entry.
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 = WasmBuildBatchFailure<'_>>
pub fn failures(&self) -> impl Iterator<Item = WasmBuildBatchFailure<'_>>
Structured failed entries with indexes, errors, and wall-clock times.
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.
Sourcepub fn metrics(&self) -> WasmBuildBatchMetrics
pub fn metrics(&self) -> WasmBuildBatchMetrics
Aggregate outcome, input-resolution reuse, and timing counters.