Skip to main content

Module context

Module context 

Source
Expand description

Cache context types for tracking cache operation results.

Structs§

CacheContext
Context information about a cache operation.

Enums§

CacheStatus
Whether the request resulted in a cache hit, miss, or stale data.
ReadMode
Mode for cache read operations.
ResponseSource
Source of the response - either from upstream or from a cache backend.

Traits§

CacheStatusExt
Extension trait for enriching responses with cache status information.
Context
Unified context for cache operations.

Functions§

finalize_context
Convert a BoxContext (SmallBox) into a CacheContext.

Type Aliases§

BoxContext
Boxed context trait object using SmallBox for inline storage.