kona_derive::traits

Trait OriginAdvancer

Source
pub trait OriginAdvancer {
    // Required method
    fn advance_origin<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = PipelineResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Defines a trait for advancing the L1 origin of the pipeline.

Required Methods§

Source

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

Advances the internal state of the lowest stage to the next l1 origin. This method is the equivalent of the reference implementation advance_l1_block.

Implementors§

Source§

impl<DAP, P> OriginAdvancer for L1Retrieval<DAP, P>

Source§

impl<F: ChainProvider + Send> OriginAdvancer for L1Traversal<F>

Source§

impl<P> OriginAdvancer for BatchValidator<P>

Source§

impl<P> OriginAdvancer for ChannelAssembler<P>

Source§

impl<P> OriginAdvancer for ChannelBank<P>

Source§

impl<P> OriginAdvancer for ChannelProvider<P>

Source§

impl<P> OriginAdvancer for ChannelReader<P>

Source§

impl<P> OriginAdvancer for FrameQueue<P>

Source§

impl<P, AB> OriginAdvancer for AttributesQueue<P, AB>

Source§

impl<P, BF> OriginAdvancer for BatchQueue<P, BF>

Source§

impl<P, BF> OriginAdvancer for BatchStream<P, BF>

Source§

impl<P, F> OriginAdvancer for BatchProvider<P, F>