Trait sc_light::blockchain::ProvideCache [−][src]
pub trait ProvideCache<Block> where
Block: Block, { fn cache(&self) -> Option<Arc<dyn Cache<Block> + 'static>>; }
Expand description
Provides access to the optional cache.
Required methods
Implementations on Foreign Types
Implementors
impl<S: Storage<Block>, Block: BlockT> ProvideCache<Block> for sc_light::blockchain::Blockchain<S>