pub struct TaskRun {
pub accesses: Accesses,
pub changes: FileChanges,
pub outcomes: Option<AccessOutcomes>,
pub result: Result<(), TaskFailure>,
pub unchecked: Vec<UncheckedExit>,
}Expand description
The result of TaskProgram::run.
Fields§
§accesses: AccessesEvery file access the program made while it ran, through the fs
functions, env.load_file, and env.read, missing files and directory
listings included.
changes: FileChangesEvery file the program changed through fs.write and fs.write_json while
it ran, in the order it first changed each, without repeats.
outcomes: Option<AccessOutcomes>How each of those accesses ended, when the program was loaded with
TaskProgram::load_noting, and otherwise None.
result: Result<(), TaskFailure>Whether the program succeeded, or why it failed. Unchecked steps never fail
the run here; kizz build --fail-unchecked turns them into a failure.
unchecked: Vec<UncheckedExit>Every step the program left unchecked, in the order they ran, with its command, how it ended, and its output; results from the cache included.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskRun
impl RefUnwindSafe for TaskRun
impl Send for TaskRun
impl Sync for TaskRun
impl Unpin for TaskRun
impl UnsafeUnpin for TaskRun
impl UnwindSafe for TaskRun
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
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
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> ⓘ
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