pub trait AsDataLoader<T> {
// Required method
fn as_data_loader(&self) -> DataLoaderWrapper<T>;
}
Expand description
Auto transform Arc wrapped ChainStore
to DataLoaderWrapper
Required Methods§
Sourcefn as_data_loader(&self) -> DataLoaderWrapper<T>
fn as_data_loader(&self) -> DataLoaderWrapper<T>
Return arc cloned DataLoaderWrapper