kona_derive_alloy::prelude

Trait NextFrameProvider

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

Provides frames for the ChannelBank and ChannelAssembler stages.

Required Methods§

Source

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

Retrieves the next Frame from the FrameQueue stage.

Implementors§