Function store
Source pub fn store(key: &str, content: &str) -> Result<(), String>
Expand description
Store content in the in-memory cache
§Arguments
key - Cache key (usually a path or URL)
content - Content to store
§Returns
Ok(()) - Content was successfully stored
Err(String) - Error storing content