kvarn_extensions::reverse_proxy

Enum MaybeChunked

source
pub enum MaybeChunked<R1, R2> {
    No(R1),
    Yes(Decoder<R2>),
}
Available on crate feature reverse-proxy only.

Variants§

§

No(R1)

§

Yes(Decoder<R2>)

Trait Implementations§

source§

impl<R1: AsyncRead + Unpin, R2: AsyncRead + Unpin> AsyncRead for MaybeChunked<R1, R2>

source§

fn poll_read( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, ) -> Poll<Result<(