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

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

Implementations on Foreign Types

Implementors