pub struct BuildCliReport {
pub steps: Vec<NodeBuild>,
pub skipped: Vec<NodeId>,
pub start_failure: Option<String>,
}Expand description
What one astrs build did.
Fields§
§steps: Vec<NodeBuild>The steps that ran, in order, up to and including any failure.
skipped: Vec<NodeId>Nodes named in the manifest that declared no build: line at all.
start_failure: Option<String>The step that could not be started at all, when one could not.
Implementations§
Source§impl BuildCliReport
impl BuildCliReport
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether every step that ran succeeded.
Sourcepub fn exit_code(&self) -> i32
pub fn exit_code(&self) -> i32
The process exit code: 0 for a build that succeeded, 1 for one
that did not.
Sourcepub fn failed_step(&self) -> Option<&NodeBuild>
pub fn failed_step(&self) -> Option<&NodeBuild>
The first step that failed, when one did.
Trait Implementations§
Source§impl Clone for BuildCliReport
impl Clone for BuildCliReport
Source§impl Debug for BuildCliReport
impl Debug for BuildCliReport
Auto Trait Implementations§
impl Freeze for BuildCliReport
impl RefUnwindSafe for BuildCliReport
impl Send for BuildCliReport
impl Sync for BuildCliReport
impl Unpin for BuildCliReport
impl UnsafeUnpin for BuildCliReport
impl UnwindSafe for BuildCliReport
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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