pub trait TicketAggregatorTrait {
// Required method
fn aggregate_tickets<'life0, 'life1, 'async_trait>(
&'life0 self,
channel: &'life1 Hash,
prerequisites: AggregationPrerequisites,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Methods§
Sourcefn aggregate_tickets<'life0, 'life1, 'async_trait>(
&'life0 self,
channel: &'life1 Hash,
prerequisites: AggregationPrerequisites,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn aggregate_tickets<'life0, 'life1, 'async_trait>(
&'life0 self,
channel: &'life1 Hash,
prerequisites: AggregationPrerequisites,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Pushes a new collection of tickets into the processing.