Skip to main content

file_kv_default

Function file_kv_default 

Source
pub fn file_kv_default<T>(
    dir: impl AsRef<Path>,
) -> KvStorage<FileBackend, T, JsonCodec>
where T: Serialize + DeserializeOwned + Send + Sync + 'static,
Expand description

Convenience: kv tier over a fresh file backend with KvStorageOptions::default + a JsonCodec.