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