Expand description
Request-handling core: local-first, remote-on-miss, persist-and-return.
This module is transport-agnostic — it answers a
DaemonRequest and produces a
DaemonResponse given a
LocalCacheStore and a remote
StorageBackend. The UDS
listen loop (listen, in this crate’s lib.rs) is a thin shell
around NodeCacheDaemon::handle_request.
Structs§
- Node
Cache Daemon - The daemon’s request-handling core. Generic over the local store so
tests can inject
crate::store::MockLocalCacheStoreand production wirescrate::store::RealLocalCacheStore; the remote tier is always the existingdyn StorageBackendtrait object, reused unmodified fromsui-cache.