pub trait FragmentSelectionAlgorithm {
    // Required method
    fn select<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        ledger: ApplyBlockLedger,
        logs: &'life1 mut Logs,
        pool: &'life2 mut Pool,
        soft_deadline_future: Receiver<()>,
        hard_deadline_future: Receiver<()>
    ) -> Pin<Box<dyn Future<Output = FragmentSelectionResult> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn select<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, ledger: ApplyBlockLedger, logs: &'life1 mut Logs, pool: &'life2 mut Pool, soft_deadline_future: Receiver<()>, hard_deadline_future: Receiver<()> ) -> Pin<Box<dyn Future<Output = FragmentSelectionResult> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§