pub struct StepReport {
pub pass: String,
pub approximates: &'static str,
pub log: PassLog,
pub added: Vec<String>,
pub removed: Vec<String>,
pub conservation: Vec<Gap>,
pub failed: Option<String>,
pub skipped: Vec<String>,
pub time: StepTime,
pub settings: Vec<String>,
}Expand description
One pass’s run. Its equality is the determinism comparison: every field but StepReport::time (two runs that made
the same are equal however long they took).
Fields§
§pass: StringThe pass with its options, as in the pipeline text.
approximates: &'static str§log: PassLog§added: Vec<String>Component names that appeared and disappeared.
removed: Vec<String>§conservation: Vec<Gap>With conservation diagnostics reporting (Conservation::Report): each measure whose losses differ from what
the pass declared. Empty otherwise.
failed: Option<String>Some(why) when the pass failed (its run, its declarations, conservation or the verifier refused it): the
record keeps what its log had noted until then, so its omissions and approximations still reach the report;
added and removed are then empty (not checked).
skipped: Vec<String>Required names absent when the step was skipped: a pass that opts in and finds none
(Pass::may_lack_inputs, SKIPPED), or the caller’s explicit MissingInputs::Skip
preparation policy (SKIPPED_UNFED). Empty when the pass ran.
time: StepTimeHow long the step took, by the wall clock (zero for a skipped step).
settings: Vec<String>The run settings the pass read (Pass::settings), as the run stated them (threads 16), in its declared order;
empty for a skipped or refused step. How the step was run, not what it made: a StepReport’s equality
leaves them out, as it does the time.
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepReport
impl Freeze for StepReport
impl RefUnwindSafe for StepReport
impl Send for StepReport
impl Sync for StepReport
impl Unpin for StepReport
impl UnsafeUnpin for StepReport
impl UnwindSafe for StepReport
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.