pub trait AsDataLoader<T> {
    // Required method
    fn as_data_loader(&self) -> DataLoaderWrapper<T>;
}
Expand description

Auto transform Arc wrapped ChainStore to DataLoaderWrapper

Required Methods§

source

fn as_data_loader(&self) -> DataLoaderWrapper<T>

Return arc cloned DataLoaderWrapper

Implementations on Foreign Types§

source§

impl<T> AsDataLoader<T> for Arc<T>where T: ChainStore,

Implementors§