pub trait HeaderProviderProvider<Block>: Send + Sync + 'staticwhere
Block: BlockT,{
type Provider: HeaderProvider<Block> + 'static;
// Required method
fn header_provider(&self) -> &Self::Provider;
}
Expand description
Decoupling the provider.
Mandated since trait HeaderProvider
can only be
implemented once for a generic T
.