referrerpolicy=no-referrer-when-downgrade

Trait sc_consensus_beefy::Client

source ·
pub trait Client<B, BE>: BlockchainEvents<B> + HeaderBackend<B> + Finalizer<B, BE> + Send + Sync
where B: Block, BE: Backend<B>,
{ }
Expand description

A convenience BEEFY client trait that defines all the type bounds a BEEFY client has to satisfy. Ideally that should actually be a trait alias. Unfortunately as of today, Rust does not allow a type alias to be used as a trait bound. Tracking issue is https://github.com/rust-lang/rust/issues/41517.

Implementors§

source§

impl<B, BE, T> Client<B, BE> for T
where B: Block, BE: Backend<B>, T: BlockchainEvents<B> + HeaderBackend<B> + Finalizer<B, BE> + ProvideRuntimeApi<B> + Send + Sync,