pub trait CliNodeComponents<N: CliNodeTypes> {
type Executor: BlockExecutorProvider<Primitives = N::Primitives>;
type Consensus: FullConsensus<N::Primitives, Error = ConsensusError> + Clone + 'static;
// Required methods
fn executor(&self) -> &Self::Executor;
fn consensus(&self) -> &Self::Consensus;
}
Expand description
Helper trait aggregating components required for the CLI.