Skip to main content

ResponseChunkStream

Trait ResponseChunkStream 

Source
pub trait ResponseChunkStream: 'static {
    // Required method
    fn poll_chunk(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
    ) -> Poll<Option<Bytes>>;
}

Required Methods§

Source

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

Implementors§