kona_derive_alloy::prelude

Trait SignalReceiver

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

Providers a way for the pipeline to accept a signal from the driver.

Required Methods§

Source

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

Receives a signal from the driver.

Implementors§

Source§

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

Source§

impl<F> SignalReceiver for L1Traversal<F>
where F: ChainProvider + Send,

Source§

impl<P> SignalReceiver for BatchValidator<P>

Source§

impl<P> SignalReceiver for ChannelAssembler<P>

Source§

impl<P> SignalReceiver for ChannelBank<P>

Source§

impl<P> SignalReceiver for ChannelProvider<P>

Source§

impl<P> SignalReceiver for ChannelReader<P>

Source§

impl<P> SignalReceiver for FrameQueue<P>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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