pub type InitializedOverseerBuilder<S, SupportsParachains, CandidateValidation, PvfChecker, CandidateBacking, StatementDistribution, AvailabilityDistribution, AvailabilityRecovery, BitfieldSigning, BitfieldDistribution, Provisioner, RuntimeApi, AvailabilityStore, NetworkBridgeRx, NetworkBridgeTx, ChainApi, CollationGeneration, CollatorProtocol, ApprovalDistribution, ApprovalVoting, GossipSupport, DisputeCoordinator, DisputeDistribution, ChainSelection> = OverseerBuilder<Init<S>, Init<CandidateValidation>, Init<PvfChecker>, Init<CandidateBacking>, Init<StatementDistribution>, Init<AvailabilityDistribution>, Init<AvailabilityRecovery>, Init<BitfieldSigning>, Init<BitfieldDistribution>, Init<Provisioner>, Init<RuntimeApi>, Init<AvailabilityStore>, Init<NetworkBridgeRx>, Init<NetworkBridgeTx>, Init<ChainApi>, Init<CollationGeneration>, Init<CollatorProtocol>, Init<ApprovalDistribution>, Init<ApprovalVoting>, Init<GossipSupport>, Init<DisputeCoordinator>, Init<DisputeDistribution>, Init<ChainSelection>, Init<HashMap<Hash, Vec<Sender<SubsystemResult<()>>>>>, Init<HashMap<Hash, Arc<Span>>>, Init<Vec<(Hash, BlockNumber)>>, Init<HashMap<Hash, BlockNumber>>, Init<SupportsParachains>, Init<LruCache<Hash, ()>>, Init<OverseerMetrics>>;
Expand description

Type used to represent a builder where all fields are initialized and the orchestra could be constructed.

Implementations§

source§

impl<S, SupportsParachains, CandidateValidation, PvfChecker, CandidateBacking, StatementDistribution, AvailabilityDistribution, AvailabilityRecovery, BitfieldSigning, BitfieldDistribution, Provisioner, RuntimeApi, AvailabilityStore, NetworkBridgeRx, NetworkBridgeTx, ChainApi, CollationGeneration, CollatorProtocol, ApprovalDistribution, ApprovalVoting, GossipSupport, DisputeCoordinator, DisputeDistribution, ChainSelection> InitializedOverseerBuilder<S, SupportsParachains, CandidateValidation, PvfChecker, CandidateBacking, StatementDistribution, AvailabilityDistribution, AvailabilityRecovery, BitfieldSigning, BitfieldDistribution, Provisioner, RuntimeApi, AvailabilityStore, NetworkBridgeRx, NetworkBridgeTx, ChainApi, CollationGeneration, CollatorProtocol, ApprovalDistribution, ApprovalVoting, GossipSupport, DisputeCoordinator, DisputeDistribution, ChainSelection>where S: Spawner, CandidateValidation: Subsystem<OverseerSubsystemContext<CandidateValidationMessage>, SubsystemError>, <OverseerSubsystemContext<CandidateValidationMessage> as CandidateValidationContextTrait>::Sender: CandidateValidationSenderTrait, OverseerSubsystemContext<CandidateValidationMessage>: CandidateValidationContextTrait, PvfChecker: Subsystem<OverseerSubsystemContext<PvfCheckerMessage>, SubsystemError>, <OverseerSubsystemContext<PvfCheckerMessage> as PvfCheckerContextTrait>::Sender: PvfCheckerSenderTrait, OverseerSubsystemContext<PvfCheckerMessage>: PvfCheckerContextTrait, CandidateBacking: Subsystem<OverseerSubsystemContext<CandidateBackingMessage>, SubsystemError>, <OverseerSubsystemContext<CandidateBackingMessage> as CandidateBackingContextTrait>::Sender: CandidateBackingSenderTrait, OverseerSubsystemContext<CandidateBackingMessage>: CandidateBackingContextTrait, StatementDistribution: Subsystem<OverseerSubsystemContext<StatementDistributionMessage>, SubsystemError>, <OverseerSubsystemContext<StatementDistributionMessage> as StatementDistributionContextTrait>::Sender: StatementDistributionSenderTrait, OverseerSubsystemContext<StatementDistributionMessage>: StatementDistributionContextTrait, AvailabilityDistribution: Subsystem<OverseerSubsystemContext<AvailabilityDistributionMessage>, SubsystemError>, <OverseerSubsystemContext<AvailabilityDistributionMessage> as AvailabilityDistributionContextTrait>::Sender: AvailabilityDistributionSenderTrait, OverseerSubsystemContext<AvailabilityDistributionMessage>: AvailabilityDistributionContextTrait, AvailabilityRecovery: Subsystem<OverseerSubsystemContext<AvailabilityRecoveryMessage>, SubsystemError>, <OverseerSubsystemContext<AvailabilityRecoveryMessage> as AvailabilityRecoveryContextTrait>::Sender: AvailabilityRecoverySenderTrait, OverseerSubsystemContext<AvailabilityRecoveryMessage>: AvailabilityRecoveryContextTrait, BitfieldSigning: Subsystem<OverseerSubsystemContext<BitfieldSigningMessage>, SubsystemError>, <OverseerSubsystemContext<BitfieldSigningMessage> as BitfieldSigningContextTrait>::Sender: BitfieldSigningSenderTrait, OverseerSubsystemContext<BitfieldSigningMessage>: BitfieldSigningContextTrait, BitfieldDistribution: Subsystem<OverseerSubsystemContext<BitfieldDistributionMessage>, SubsystemError>, <OverseerSubsystemContext<BitfieldDistributionMessage> as BitfieldDistributionContextTrait>::Sender: BitfieldDistributionSenderTrait, OverseerSubsystemContext<BitfieldDistributionMessage>: BitfieldDistributionContextTrait, Provisioner: Subsystem<OverseerSubsystemContext<ProvisionerMessage>, SubsystemError>, <OverseerSubsystemContext<ProvisionerMessage> as ProvisionerContextTrait>::Sender: ProvisionerSenderTrait, OverseerSubsystemContext<ProvisionerMessage>: ProvisionerContextTrait, RuntimeApi: Subsystem<OverseerSubsystemContext<RuntimeApiMessage>, SubsystemError>, <OverseerSubsystemContext<RuntimeApiMessage> as RuntimeApiContextTrait>::Sender: RuntimeApiSenderTrait, OverseerSubsystemContext<RuntimeApiMessage>: RuntimeApiContextTrait, AvailabilityStore: Subsystem<OverseerSubsystemContext<AvailabilityStoreMessage>, SubsystemError>, <OverseerSubsystemContext<AvailabilityStoreMessage> as AvailabilityStoreContextTrait>::Sender: AvailabilityStoreSenderTrait, OverseerSubsystemContext<AvailabilityStoreMessage>: AvailabilityStoreContextTrait, NetworkBridgeRx: Subsystem<OverseerSubsystemContext<NetworkBridgeRxMessage>, SubsystemError>, <OverseerSubsystemContext<NetworkBridgeRxMessage> as NetworkBridgeRxContextTrait>::Sender: NetworkBridgeRxSenderTrait, OverseerSubsystemContext<NetworkBridgeRxMessage>: NetworkBridgeRxContextTrait, NetworkBridgeTx: Subsystem<OverseerSubsystemContext<NetworkBridgeTxMessage>, SubsystemError>, <OverseerSubsystemContext<NetworkBridgeTxMessage> as NetworkBridgeTxContextTrait>::Sender: NetworkBridgeTxSenderTrait, OverseerSubsystemContext<NetworkBridgeTxMessage>: NetworkBridgeTxContextTrait, ChainApi: Subsystem<OverseerSubsystemContext<ChainApiMessage>, SubsystemError>, <OverseerSubsystemContext<ChainApiMessage> as ChainApiContextTrait>::Sender: ChainApiSenderTrait, OverseerSubsystemContext<ChainApiMessage>: ChainApiContextTrait, CollationGeneration: Subsystem<OverseerSubsystemContext<CollationGenerationMessage>, SubsystemError>, <OverseerSubsystemContext<CollationGenerationMessage> as CollationGenerationContextTrait>::Sender: CollationGenerationSenderTrait, OverseerSubsystemContext<CollationGenerationMessage>: CollationGenerationContextTrait, CollatorProtocol: Subsystem<OverseerSubsystemContext<CollatorProtocolMessage>, SubsystemError>, <OverseerSubsystemContext<CollatorProtocolMessage> as CollatorProtocolContextTrait>::Sender: CollatorProtocolSenderTrait, OverseerSubsystemContext<CollatorProtocolMessage>: CollatorProtocolContextTrait, ApprovalDistribution: Subsystem<OverseerSubsystemContext<ApprovalDistributionMessage>, SubsystemError>, <OverseerSubsystemContext<ApprovalDistributionMessage> as ApprovalDistributionContextTrait>::Sender: ApprovalDistributionSenderTrait, OverseerSubsystemContext<ApprovalDistributionMessage>: ApprovalDistributionContextTrait, ApprovalVoting: Subsystem<OverseerSubsystemContext<ApprovalVotingMessage>, SubsystemError>, <OverseerSubsystemContext<ApprovalVotingMessage> as ApprovalVotingContextTrait>::Sender: ApprovalVotingSenderTrait, OverseerSubsystemContext<ApprovalVotingMessage>: ApprovalVotingContextTrait, GossipSupport: Subsystem<OverseerSubsystemContext<GossipSupportMessage>, SubsystemError>, <OverseerSubsystemContext<GossipSupportMessage> as GossipSupportContextTrait>::Sender: GossipSupportSenderTrait, OverseerSubsystemContext<GossipSupportMessage>: GossipSupportContextTrait, DisputeCoordinator: Subsystem<OverseerSubsystemContext<DisputeCoordinatorMessage>, SubsystemError>, <OverseerSubsystemContext<DisputeCoordinatorMessage> as DisputeCoordinatorContextTrait>::Sender: DisputeCoordinatorSenderTrait, OverseerSubsystemContext<DisputeCoordinatorMessage>: DisputeCoordinatorContextTrait, DisputeDistribution: Subsystem<OverseerSubsystemContext<DisputeDistributionMessage>, SubsystemError>, <OverseerSubsystemContext<DisputeDistributionMessage> as DisputeDistributionContextTrait>::Sender: DisputeDistributionSenderTrait, OverseerSubsystemContext<DisputeDistributionMessage>: DisputeDistributionContextTrait, ChainSelection: Subsystem<OverseerSubsystemContext<ChainSelectionMessage>, SubsystemError>, <OverseerSubsystemContext<ChainSelectionMessage> as ChainSelectionContextTrait>::Sender: ChainSelectionSenderTrait, OverseerSubsystemContext<ChainSelectionMessage>: ChainSelectionContextTrait,

source

pub fn build( self ) -> Result<(Overseer<S, SupportsParachains>, OverseerHandle), SubsystemError>

Complete the construction and create the orchestra type.

source

pub fn build_with_connector( self, connector: OverseerConnector ) -> Result<(Overseer<S, SupportsParachains>, OverseerHandle), SubsystemError>

Complete the construction and create the orchestra type based on an existing connector.