Skip to main content

read_versioned

Function read_versioned 

Source
pub async fn read_versioned(
    store: &dyn CacheStore,
    key: &str,
    version: u64,
) -> Result<Option<Value>>
Expand description

Read key only if its stored version matches version; a mismatch (or a missing key) is a miss.