pub trait AsyncFactory<K: AsyncKey, V: AsyncStorable>:
Fn(&K) -> V
+ Send
+ Sync
+ 'static { }
Expand description
A trait for factory methods that can be used to create new values for a key in an asynchronous map. A blanket implementation is provided.