pub type FetchOutcome = Outcome<CustomSnapshot>;Expand description
This vendor’s Outcome — the shared shape,
specialised to its snapshot.
Aliased Type§
pub struct FetchOutcome {
pub snapshot: CustomSnapshot,
pub stale: bool,
pub last_error: Option<(u16, String)>,
pub cache_age: Option<Duration>,
}Fields§
§snapshot: CustomSnapshot§stale: boolThe payload is past its TTL — shown, but marked.
last_error: Option<(u16, String)>The failure recorded by the most recent unsuccessful refresh, redacted
by Cache::write_last_error. None means the last refresh worked.
cache_age: Option<Duration>How long ago the payload was written. None when unknown.