pub trait ApprovalVotingWorkProvider {
    // Required method
    fn recv<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = SubsystemResult<FromOrchestra<ApprovalVotingMessage>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait for providing approval voting subsystem with work.

Required Methods§

source

fn recv<'life0, 'async_trait>( &'life0 mut self ) -> Pin<Box<dyn Future<Output = SubsystemResult<FromOrchestra<ApprovalVotingMessage>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

source§

impl<Context> ApprovalVotingWorkProvider for Context
where Context: ApprovalVotingContextTrait + SubsystemContext, <Context as ApprovalVotingContextTrait>::Sender: ApprovalVotingSenderTrait, <Context as SubsystemContext>::Sender: ApprovalVotingSenderTrait,