pub async fn serve(
config: CacheConfig,
storage: Arc<dyn StorageBackend>,
) -> Result<(), CacheError>Expand description
Start the cache server and listen for connections.
ยงErrors
Returns an error if binding or serving fails.
pub async fn serve(
config: CacheConfig,
storage: Arc<dyn StorageBackend>,
) -> Result<(), CacheError>Start the cache server and listen for connections.
Returns an error if binding or serving fails.