pub struct BuildSummary {
pub duration: Duration,
pub results: Vec<BuildResult>,
pub scanfail: Vec<(PkgPath, String)>,
}Expand description
Summary of an entire build run.
Fields§
§duration: DurationTotal duration of the build run.
results: Vec<BuildResult>Results for each package.
scanfail: Vec<(PkgPath, String)>Packages that failed to scan (pkgpath, error message).
Implementations§
Source§impl BuildSummary
impl BuildSummary
Sourcepub fn counts(&self) -> BuildCounts
pub fn counts(&self) -> BuildCounts
Compute all outcome counts in a single pass.
Sourcepub fn failed(&self) -> Vec<&BuildResult>
pub fn failed(&self) -> Vec<&BuildResult>
Get all failed results (direct build failures only).
Sourcepub fn succeeded(&self) -> Vec<&BuildResult>
pub fn succeeded(&self) -> Vec<&BuildResult>
Get all successful results.
Sourcepub fn skipped(&self) -> Vec<&BuildResult>
pub fn skipped(&self) -> Vec<&BuildResult>
Get all skipped results.
Trait Implementations§
Source§impl Clone for BuildSummary
impl Clone for BuildSummary
Source§fn clone(&self) -> BuildSummary
fn clone(&self) -> BuildSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BuildSummary
impl RefUnwindSafe for BuildSummary
impl Send for BuildSummary
impl Sync for BuildSummary
impl Unpin for BuildSummary
impl UnwindSafe for BuildSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more