Skip to main content

Crate claviron_cache

Crate claviron_cache 

Source

Re-exports§

pub use self::config::CacheConfig;
pub use self::config::CacheConfig as CacheBootstrapConfig;
pub use self::config::FileCacheStoreConfig;
pub use self::error::Error;
pub use self::error::Result;

Modules§

config
error
memory
Typed process-local caching for synchronous callers.

Structs§

CacheEntry
CacheProvider
Reloadable runtime cache facade, and the owner of cache.yaml.
CacheRegistry
Registration-time extension point for cache drivers and stores.
CacheRepository
Driver-neutral operations for one named cache store.
FileCacheDriver
FileCacheStore
ValueError

Enums§

ArchivedCacheJson
An archived CacheJson
CacheExpiry
Expiry observed with a backing value in the same read.
CacheJson
A language-neutral JSON-shaped cache tree.
CacheValue
Stable value envelope shared by cache frontends.
CacheValueRef
A validated read of a cache envelope, borrowing its immutable byte buffer.

Traits§

CacheDriver
Build-time factory for one cache backend family.
CacheStore
Raw storage contract implemented by cache backends.
CacheStoreResolver
Read-only view of the complete candidate store graph during composition.

Functions§

register
Compose the cache: the registry, the provider that owns cache.yaml, and the built-in drivers. Congif prepares the file before boot; the sealing configure builds stores from the registered drivers. Without the file, the catalog starts with the built-in memory store. The Orbit cache service can serve Orbit stores declared by a later configuration.
register_with_config
Supply the existing cache schema from an enclosing launch document. Driver construction and sealing remain lifecycle work, after all application registrations. This immutable boot intent does not read or watch cache.yaml.

Type Aliases§

ValueResult