pub struct TaskRecord {
pub program_hash: [u8; 32],
pub succeeded: bool,
pub build: BuildId,
pub steps: u32,
pub line: u32,
pub heading: Option<String>,
pub targets: Vec<String>,
pub block: ContentHash,
pub modules: Vec<ModuleHash>,
}Expand description
What is recorded about a task: its program hash, the hashes of the program’s parts, how output names the task, and a summary of its last run.
Fields§
§program_hash: [u8; 32]The hash of the task program: its block and every module it loads.
succeeded: boolWhether the last run of the task succeeded.
build: BuildIdThe build of the last run.
steps: u32The number of steps of the last run; its step positions are those below it.
line: u32The line of the block’s opening fence, counting from 1.
heading: Option<String>The nearest heading above the block, if there is one.
targets: Vec<String>The targets on the block, in the order written.
block: ContentHashThe BLAKE3 hash of the block’s source.
modules: Vec<ModuleHash>The hash of every module the program loads, sorted by path.
Trait Implementations§
Source§impl Clone for TaskRecord
impl Clone for TaskRecord
Source§impl Debug for TaskRecord
impl Debug for TaskRecord
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for TaskRecord
impl<'bytes, Ctx> Decode<'bytes, Ctx> for TaskRecord
Source§impl<Ctx> Encode<Ctx> for TaskRecord
impl<Ctx> Encode<Ctx> for TaskRecord
impl Eq for TaskRecord
Source§impl PartialEq for TaskRecord
impl PartialEq for TaskRecord
Source§impl Record for TaskRecord
impl Record for TaskRecord
impl StructuralPartialEq for TaskRecord
Auto Trait Implementations§
impl Freeze for TaskRecord
impl RefUnwindSafe for TaskRecord
impl Send for TaskRecord
impl Sync for TaskRecord
impl Unpin for TaskRecord
impl UnsafeUnpin for TaskRecord
impl UnwindSafe for TaskRecord
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,
§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
Compare self to
key and return true if they are equal.