hitbox-backend 0.2.1

Backend trait for asynchronous caching framework in Rust.
Documentation
1
2
3
4
5
6
7
8
9
//! Cache operation context.
//!
//! Re-exports [`Context`] and [`ReadMode`] from `hitbox-core`.
//!
//! In composition backends, context is wrapped in an internal `CompositionContext`
//! that tracks which cache layer (L1/L2) provided the data. This enables proper
//! refill behavior when data is found in L2 but missing from L1.

pub use hitbox_core::{Context, ReadMode};