Rust AppView - highly experimental!
at nix 5 lines 119 B view raw
1use std::collections::HashMap; 2 3pub trait BatchFn<K, V> { 4 async fn load(&mut self, keys: &[K]) -> HashMap<K, V>; 5}