kvarn_
extensions
0.6.2
Maybe
Chunked
Variants
No
Yes
Trait Implementations
AsyncRead
Auto Trait Implementations
Freeze
RefUnwindSafe
Send
Sync
Unpin
UnwindSafe
Blanket Implementations
Any
AsTaggedExplicit<'a, E>
AsTaggedImplicit<'a, E>
AsyncReadExt
Borrow<T>
BorrowMut<T>
From<T>
Instrument
Into<U>
Pointable
Same
TryFrom<U>
TryInto<U>
VZip<V>
WithSubscriber
In kvarn_
extensions::
reverse_
proxy
kvarn_extensions
::
reverse_proxy
Enum
MaybeChunked
Copy item path
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
<
(