referrerpolicy=no-referrer-when-downgrade

Trait sc_consensus_grandpa::ClientForGrandpa

source ·
pub trait ClientForGrandpa<Block, BE>: LockImportRun<Block, BE> + Finalizer<Block, BE> + AuxStore + HeaderMetadata<Block, Error = Error> + HeaderBackend<Block> + BlockchainEvents<Block> + ProvideRuntimeApi<Block> + ExecutorProvider<Block> + BlockImport<Block, Error = Error> + StorageProvider<Block, BE>
where BE: Backend<Block>, Block: BlockT,
{ }
Expand description

A trait that includes all the client functionalities grandpa requires. Ideally this would be a trait alias, we’re not there yet. tracking issue https://github.com/rust-lang/rust/issues/41517

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Block, BE, T> ClientForGrandpa<Block, BE> for T
where BE: Backend<Block>, Block: BlockT, T: LockImportRun<Block, BE> + Finalizer<Block, BE> + AuxStore + HeaderMetadata<Block, Error = Error> + HeaderBackend<Block> + BlockchainEvents<Block> + ProvideRuntimeApi<Block> + ExecutorProvider<Block> + BlockImport<Block, Error = Error> + StorageProvider<Block, BE>,