pub struct ProgramLoad {
pub accesses: Accesses,
pub changes: FileChanges,
pub outcomes: Option<AccessOutcomes>,
pub program: Result<TaskProgram, TaskFailure>,
}Expand description
The result of TaskProgram::load and TaskProgram::load_noting.
Fields§
§accesses: AccessesEvery module the task read and every module path it found missing, with the file accesses of the modules’ top-level code.
changes: FileChangesEvery file the modules’ top-level code changed through fs.write and
fs.write_json, in the order it first changed each.
outcomes: Option<AccessOutcomes>How each of those accesses ended, when the load noted it, and otherwise
None.
program: Result<TaskProgram, TaskFailure>The loaded program, or why it could not be loaded.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProgramLoad
impl !UnwindSafe for ProgramLoad
impl Freeze for ProgramLoad
impl Send for ProgramLoad
impl Sync for ProgramLoad
impl Unpin for ProgramLoad
impl UnsafeUnpin for ProgramLoad
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