kona_derive::stages

Trait NextFrameProvider

Source
pub trait NextFrameProvider {
    // Required method
    fn next_frame<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = PipelineResult<Frame>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: '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 = PipelineResult<Frame>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves the next Frame from the FrameQueue stage.

Implementors§