pub enum NotCachedReason {
Signaled {
signal: i32,
},
Interrupted {
signal: i32,
},
Incomplete {
detail: String,
},
StartFailed {
message: String,
},
InterruptedExited {
code: i32,
},
ChangedAfterRead {
files: Vec<ChangedRead>,
},
UnknownSystemCalls {
numbers: Vec<u32>,
},
}Expand description
Why the result of a run was not cached.
Variants§
Signaled
A signal killed the command.
Interrupted
The build was interrupted, and a signal stopped the command.
Incomplete
The tracer could not observe every access of the run.
StartFailed
The command could not start, for a reason other than a missing or non-executable program.
InterruptedExited
The build was interrupted, and the command exited with a code that it chose, for example after it handled the interrupt.
ChangedAfterRead
Files changed during the run after the command first read them or ran them, so the recorded states may not be what the command consumed.
Fields
§
files: Vec<ChangedRead>Each changed file, sorted by path.
UnknownSystemCalls
The command made system calls that the tracer does not know, and the build
did not ask to cache such results with kizz build --cache-unknown-syscalls.
Trait Implementations§
Source§impl Clone for NotCachedReason
impl Clone for NotCachedReason
Source§impl Debug for NotCachedReason
impl Debug for NotCachedReason
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for NotCachedReason
impl<'bytes, Ctx> Decode<'bytes, Ctx> for NotCachedReason
Source§impl Display for NotCachedReason
impl Display for NotCachedReason
Source§impl<Ctx> Encode<Ctx> for NotCachedReason
impl<Ctx> Encode<Ctx> for NotCachedReason
impl Eq for NotCachedReason
Source§impl Hash for NotCachedReason
impl Hash for NotCachedReason
Source§impl PartialEq for NotCachedReason
impl PartialEq for NotCachedReason
impl StructuralPartialEq for NotCachedReason
Auto Trait Implementations§
impl Freeze for NotCachedReason
impl RefUnwindSafe for NotCachedReason
impl Send for NotCachedReason
impl Sync for NotCachedReason
impl Unpin for NotCachedReason
impl UnsafeUnpin for NotCachedReason
impl UnwindSafe for NotCachedReason
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.