Trait sp_blockchain::ProvideCache[][src]

pub trait ProvideCache<Block: BlockT> {
    fn cache(&self) -> Option<Arc<dyn Cache<Block>>>;
}
Expand description

Provides access to the optional cache.

Required methods

Returns data cache reference, if it is enabled on this backend.

Implementors