pub trait AsyncFrameRead: Send + Sync + 'static {
    // Required method
    fn poll_next(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>
    ) -> Poll<Result<Bytes>>;
}

Required Methods§

source

fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<Bytes>>

Implementors§

source§

impl AsyncFrameRead for InMemoryReader

source§

impl<T: Stream<Item = Result<Bytes>> + Sync + Send + 'static> AsyncFrameRead for T