Skip to main content

modify

Function modify 

Source
pub fn modify<K, V, R>(
    store: &mut dyn StateStore,
    key: &K,
    f: impl FnOnce(&mut V) -> R,
) -> Result<R>