Trait batch_loader::Backend [] [src]

pub trait Backend: Send + 'static {
    type Value: Value;
    type Error: Debug + Clone + Send;
    fn batch_load<'a, I>(
        &self,
        keys: I
    ) -> Result<Vec<Self::Value>, Self::Error>
    where
        I: Iterator<Item = &'a <Self::Value as Value>::Key> + 'a
; }

Trait for querier backend

Associated Types

Required Methods

This function provides the actual data fetching logic.

Implementors