Skip to main content

json_persistor

Function json_persistor 

Source
pub fn json_persistor<V: Serialize + DeserializeOwned>(
    id: String,
    scope: Scope,
) -> CustomPersistor<V, String, str, AsyncFileStringIO, fn(&V) -> Result<String>, fn(&str) -> Result<V>>