ckb_store::data_loader_wrapper

Trait AsDataLoader

Source
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§