Expand description
Error type for the cache engine.
Structs§
- Error
Chain - Renders any error and each
std::error::Error::sourceunder it on one line, joined by": ". Built byCacheError::display_chain, or byErrorChain::newfor any other error.
Enums§
- Cache
Error - Errors surfaced by
crate::CacheEngine. - Origin
Error - Errors raised by the
crate::origin::HttpOrigindecompression layer. - Origin
Pull Error - Outcome of a single
crate::origin::Origin::fetchcall, classified by whether a retry is appropriate. The cache engine’s retry loop drives off this distinction —Transientfailures are retried up tocrate::RetryPolicy::max_retries,Permanentfailures surface to the caller immediately. - Supported
Encoding Content-Encodingvaluescrate::origin::HttpOriginknows how to decode. Used as theencodingfield ofOriginError::DecompressionFailedso that variant is structurally reachable only from genuine decoder failures — makingDecompressionFailed { encoding: "lol", … }unrepresentable by construction.
Type Aliases§
- Cache
Result - Convenience result alias.