pub trait NextAttributes {
// Required method
fn next_attributes<'life0, 'async_trait>(
&'life0 mut self,
parent: L2BlockInfo,
) -> Pin<Box<dyn Future<Output = Result<OpAttributesWithParent, PipelineErrorKind>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
NextAttributes defines the interface for pulling attributes from
the top level AttributesQueue
stage of the pipeline.
Required Methods§
Sourcefn next_attributes<'life0, 'async_trait>(
&'life0 mut self,
parent: L2BlockInfo,
) -> Pin<Box<dyn Future<Output = Result<OpAttributesWithParent, PipelineErrorKind>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn next_attributes<'life0, 'async_trait>(
&'life0 mut self,
parent: L2BlockInfo,
) -> Pin<Box<dyn Future<Output = Result<OpAttributesWithParent, PipelineErrorKind>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Returns the next OpAttributesWithParent from the current batch.