Function polkadot_overseer::dummy::one_for_all_overseer_builder
source · pub fn one_for_all_overseer_builder<Spawner, SupportsParachains, Sub>(
spawner: Spawner,
supports_parachains: SupportsParachains,
subsystem: Sub,
registry: Option<&Registry>,
) -> Result<InitializedOverseerBuilder<SpawnGlue<Spawner>, SupportsParachains, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub, Sub>, SubsystemError>where
SpawnGlue<Spawner>: Spawner + 'static,
SupportsParachains: HeadSupportsParachains,
Sub: Clone + Subsystem<OverseerSubsystemContext<AvailabilityDistributionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<AvailabilityRecoveryMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<AvailabilityStoreMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<BitfieldDistributionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<BitfieldSigningMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<CandidateBackingMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<CandidateValidationMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ChainApiMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<CollationGenerationMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<CollatorProtocolMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<NetworkBridgeRxMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<NetworkBridgeTxMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ProvisionerMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<RuntimeApiMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<StatementDistributionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ApprovalDistributionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ApprovalVotingMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ApprovalVotingParallelMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<GossipSupportMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<DisputeCoordinatorMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<DisputeDistributionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ChainSelectionMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<PvfCheckerMessage>, SubsystemError> + Subsystem<OverseerSubsystemContext<ProspectiveParachainsMessage>, SubsystemError>,
Expand description
Create an overseer with all subsystem being Sub
.