pub trait FrameQueueProvider {
type Item: Into<Bytes>;
// Required method
fn next_data<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Self::Item, PipelineErrorKind>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Provides data frames for the FrameQueue stage.
Required Associated Types§
Required Methods§
Sourcefn next_data<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Self::Item, PipelineErrorKind>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn next_data<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<Self::Item, PipelineErrorKind>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the next data item from the L1 retrieval stage. If there is data, it pushes it into the next stage. If there is no data, it returns an error.