Slug: async-trait-01 · Paired reading: Chapter 13
Prompt
RPITIT style (avoid async_fn_in_trait lint):
trait KeyValue { fn get(&self, key: &str) -> impl Future<Output = Option<String>> + Send; }
with MemStore impl. Test with block_on; assert the future is Send.