pub struct RunReport {
pub result: TaskResult,
pub interrupted: bool,
pub observed: Option<RunObservations>,
}Expand description
What one kizz run did.
Fields§
§result: TaskResultThe one run of the task.
interrupted: boolWhether cancellation was requested, so the run started nothing new.
observed: Option<RunObservations>What the run observed for its observation report, when the engine writes
one, and otherwise None.
Implementations§
Source§impl RunReport
impl RunReport
Sourcepub const fn succeeded(&self) -> bool
pub const fn succeeded(&self) -> bool
Whether the run succeeded: it was not interrupted, and the task did not fail.
Sourcepub fn unchecked(&self) -> Vec<UncheckedStep>
pub fn unchecked(&self) -> Vec<UncheckedStep>
The steps that the run left unchecked, which warn once the run ends; none when it was interrupted, as for a build.
Sourcepub fn command_counts(&self) -> (usize, usize)
pub fn command_counts(&self) -> (usize, usize)
The number of commands that ran, and the number that came from the cache.
Sourcepub fn observation_report(&self, task: &str) -> Option<Report>
pub fn observation_report(&self, task: &str) -> Option<Report>
The observation report of the run, whose task program is named task, as
output names the task, such as kizz.md:3 (Build): one command for each
step that the run reached, in order, each that ran the root of its own
process tree and each cache hit cached, without observations, and the task
program’s own accesses as an entry of their own. None when the engine
wrote no report.
Trait Implementations§
impl Eq for RunReport
impl StructuralPartialEq for RunReport
Auto Trait Implementations§
impl Freeze for RunReport
impl RefUnwindSafe for RunReport
impl Send for RunReport
impl Sync for RunReport
impl Unpin for RunReport
impl UnsafeUnpin for RunReport
impl UnwindSafe for RunReport
Blanket Implementations§
impl<T> AsTypeStaticRegistered for T
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
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
impl<T> HasTyVTable for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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> ⓘ
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> ⓘ
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