pub trait Runnable: Send + 'static {
    // Required method
    fn run<'async_trait>(
        self,
        exit: Receiver<()>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

source

fn run<'async_trait>( self, exit: Receiver<()> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§

source§

impl<B, C, RB, Message, R> Runnable for phron_finality::data_io::data_store::DataStore<B, C, RB, Message, R>
where B: BlockT<Hash = BlockHash>, B::Header: HeaderT<Number = BlockNumber>, C: HeaderBackend<B> + BlockchainEvents<B> + Send + Sync + 'static, RB: RequestBlocks + 'static, Message: PhronNetworkMessage + Debug + Send + Sync + Clone + Codec + 'static, R: Receiver<Message> + 'static,

source§

impl<B, C, RB, Message, R> Runnable for phron_finality::data_io::legacy::data_store::DataStore<B, C, RB, Message, R>
where B: BlockT<Hash = BlockHash>, B::Header: HeaderT<Number = BlockNumber>, C: HeaderBackend<B> + BlockchainEvents<B> + Send + Sync + 'static, RB: RequestBlocks + 'static, Message: PhronNetworkMessage + Debug + Send + Sync + Clone + Codec + 'static, R: Receiver<Message> + 'static,

source§

impl<B, SC, C> Runnable for phron_finality::data_io::data_provider::ChainTracker<B, SC, C>
where B: BlockT<Hash = BlockHash>, B::Header: HeaderT<Number = BlockNumber>, C: HeaderBackend<B> + 'static, SC: SelectChain<B> + 'static,

source§

impl<B, SC, C> Runnable for phron_finality::data_io::legacy::data_provider::ChainTracker<B, SC, C>
where B: BlockT<Hash = BlockHash>, B::Header: HeaderT<Number = BlockNumber>, C: HeaderBackend<B> + 'static, SC: SelectChain<B> + 'static,