pub struct ArtifactCacheBatchReport<E> { /* private fields */ }Expand description
Ordered labeled entries from a collect-all artifact transaction batch.
Implementations§
Source§impl<E> ArtifactCacheBatchReport<E>
impl<E> ArtifactCacheBatchReport<E>
Sourcepub fn entries(&self) -> &[ArtifactCacheBatchEntry<E>]
pub fn entries(&self) -> &[ArtifactCacheBatchEntry<E>]
Ordered labeled entries.
Sourcepub fn into_entries(self) -> Vec<ArtifactCacheBatchEntry<E>>
pub fn into_entries(self) -> Vec<ArtifactCacheBatchEntry<E>>
Consume the report into its ordered labeled entries.
Sourcepub fn outcomes(
&self,
) -> impl Iterator<Item = ArtifactCacheBatchOutcomeEntry<'_>>
pub fn outcomes( &self, ) -> impl Iterator<Item = ArtifactCacheBatchOutcomeEntry<'_>>
Structured successful entries with labels and wall-clock times.
Sourcepub fn failures(
&self,
) -> impl Iterator<Item = ArtifactCacheBatchFailedEntry<'_, E>>
pub fn failures( &self, ) -> impl Iterator<Item = ArtifactCacheBatchFailedEntry<'_, E>>
Structured failed entries with labels and partial phase timings.
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) -> ArtifactCacheBatchMetrics
pub fn metrics(&self) -> ArtifactCacheBatchMetrics
Aggregate outcome counters and successful-acquisition timings.
Trait Implementations§
Source§impl<E: Debug> Debug for ArtifactCacheBatchReport<E>
impl<E: Debug> Debug for ArtifactCacheBatchReport<E>
Auto Trait Implementations§
impl<E> !RefUnwindSafe for ArtifactCacheBatchReport<E>
impl<E> !UnwindSafe for ArtifactCacheBatchReport<E>
impl<E> Freeze for ArtifactCacheBatchReport<E>
impl<E> Send for ArtifactCacheBatchReport<E>where
E: Send,
impl<E> Sync for ArtifactCacheBatchReport<E>where
E: Sync,
impl<E> Unpin for ArtifactCacheBatchReport<E>
impl<E> UnsafeUnpin for ArtifactCacheBatchReport<E>
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