pub enum RunSource {
CacheHit,
FreshRun,
}Expand description
Where a CompletedRecord’s success came from.
Variants§
CacheHit
The cache held a valid entry for the derived key
(CACHE-015); restoration materialised the outputs and the
recorded streams were surfaced through the observer.
FreshRun
The cache missed; the executor spawned the task’s command, captured its stdout and stderr, and (on success) stored the result for future hits.
Trait Implementations§
impl Copy for RunSource
impl Eq for RunSource
impl StructuralPartialEq for RunSource
Auto Trait Implementations§
impl Freeze for RunSource
impl RefUnwindSafe for RunSource
impl Send for RunSource
impl Sync for RunSource
impl Unpin for RunSource
impl UnsafeUnpin for RunSource
impl UnwindSafe for RunSource
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