[−][src]Trait dataloader::BatchFn
Required methods
#[must_use]pub fn load<'life0, 'life1, 'async_trait>(
&'life0 mut self,
keys: &'life1 [K]
) -> Pin<Box<dyn Future<Output = HashMap<K, V>> + Send + 'async_trait>> where
K: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self,
keys: &'life1 [K]
) -> Pin<Box<dyn Future<Output = HashMap<K, V>> + Send + 'async_trait>> where
K: 'async_trait,
V: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,