Skip to main content

serve

Function serve 

Source
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.