kona_derive::traits

Trait OriginProvider

Source
pub trait OriginProvider {
    // Required method
    fn origin(&self) -> Option<BlockInfo>;
}
Expand description

Provides a method for accessing the pipeline’s current L1 origin.

Required Methods§

Source

fn origin(&self) -> Option<BlockInfo>

Returns the optional L1 BlockInfo origin.

Implementors§

Source§

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

Source§

impl<F: ChainProvider> OriginProvider for L1Traversal<F>

Source§

impl<P> OriginProvider for BatchValidator<P>

Source§

impl<P> OriginProvider for ChannelAssembler<P>

Source§

impl<P> OriginProvider for ChannelBank<P>

Source§

impl<P> OriginProvider for ChannelProvider<P>

Source§

impl<P> OriginProvider for ChannelReader<P>

Source§

impl<P> OriginProvider for FrameQueue<P>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<S, P> OriginProvider for DerivationPipeline<S, P>