pub trait BundleProducer<Block, CBlock>where
Block: BlockT,
CBlock: BlockT,{
// Required method
fn produce_bundle<'life0, 'async_trait>(
&'life0 mut self,
operator_id: OperatorId,
slot_info: OperatorSlotInfo,
) -> Pin<Box<dyn Future<Output = Result<Option<DomainProposal<Block, CBlock>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn produce_bundle<'life0, 'async_trait>(
&'life0 mut self,
operator_id: OperatorId,
slot_info: OperatorSlotInfo,
) -> Pin<Box<dyn Future<Output = Result<Option<DomainProposal<Block, CBlock>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn produce_bundle<'life0, 'async_trait>(
&'life0 mut self,
operator_id: OperatorId,
slot_info: OperatorSlotInfo,
) -> Pin<Box<dyn Future<Output = Result<Option<DomainProposal<Block, CBlock>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Produce a bundle for the given operator and slot.