pub struct KernelDirCacheHit {
pub cache_key: String,
pub built_at: String,
}Expand description
Cache-hit signal returned from resolve_kernel_dir_to_entry
when a clean source tree’s cache entry was found and reused
without invoking kernel_build_pipeline.
Carries the cache key and the persisted built_at ISO-8601
timestamp so callers can render a user-facing line that names
both the cache identity and the build age. None
(KernelDirOutcome::cache_hit returns None) means the build
pipeline ran — either to populate the cache (clean-tree cache
miss) or to build directly without storing (dirty-tree path).
Fields§
§cache_key: StringCache key that resolved to this entry, e.g.
local-abc1234-x86_64-kc{suffix} or
local-abc1234-x86_64-cfgdeadbeef-kc{suffix} when the source
tree carried a user .config.
built_at: StringISO-8601 timestamp recorded in the entry’s metadata.json
at store time. Suitable for humantime::parse_rfc3339.
Trait Implementations§
Source§impl Clone for KernelDirCacheHit
impl Clone for KernelDirCacheHit
Source§fn clone(&self) -> KernelDirCacheHit
fn clone(&self) -> KernelDirCacheHit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for KernelDirCacheHit
impl RefUnwindSafe for KernelDirCacheHit
impl Send for KernelDirCacheHit
impl Sync for KernelDirCacheHit
impl Unpin for KernelDirCacheHit
impl UnwindSafe for KernelDirCacheHit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more