Skip to main content

wrap_with_cache

Function wrap_with_cache 

Source
pub fn wrap_with_cache<S: CredentialStore + 'static>(
    inner: S,
    cache_ttl_secs: u64,
) -> Box<dyn CredentialStore>
Expand description

Build a store on top of a user-provided backend (mainly useful for CI variants or custom test harnesses). Same cache semantics as build_default_store.