Trait dataloader::BatchFn [] [src]

pub trait BatchFn<K, V> {
    type Error;
    fn load(&self, keys: &[K]) -> BatchFuture<V, Self::Error>;

    fn max_batch_size(&self) -> usize { ... }
}

Associated Types

Required Methods

Provided Methods

Implementors