pub struct Explanation {
pub reasons: Vec<Reason>,
pub repeated: Vec<PathBuf>,
}Expand description
Why a step ran.
Fields§
§reasons: Vec<Reason>Every reason, in the order of the spec’s list.
repeated: Vec<PathBuf>The self-inflicted inputs that also made the step run in its task’s previous build, sorted: the step re-runs in consecutive builds for the same self-inflicted reason, which deserves a loud warning.
Implementations§
Source§impl Explanation
impl Explanation
Sourcepub fn self_inflicted(&self) -> Vec<PathBuf>
pub fn self_inflicted(&self) -> Vec<PathBuf>
The paths of every self-inflicted changed input, sorted and without duplicates.
Sourcepub fn runs_every_build(&self) -> bool
pub fn runs_every_build(&self) -> bool
Whether the step runs on every build: it is marked always, its task is
marked cache=never, or one of its changed inputs is self-inflicted.
Trait Implementations§
Source§impl Clone for Explanation
impl Clone for Explanation
Source§impl Debug for Explanation
impl Debug for Explanation
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for Explanation
impl<'bytes, Ctx> Decode<'bytes, Ctx> for Explanation
Source§impl Default for Explanation
impl Default for Explanation
Source§impl<Ctx> Encode<Ctx> for Explanation
impl<Ctx> Encode<Ctx> for Explanation
impl Eq for Explanation
Source§impl PartialEq for Explanation
impl PartialEq for Explanation
impl StructuralPartialEq for Explanation
Auto Trait Implementations§
impl Freeze for Explanation
impl RefUnwindSafe for Explanation
impl Send for Explanation
impl Sync for Explanation
impl Unpin for Explanation
impl UnsafeUnpin for Explanation
impl UnwindSafe for Explanation
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.