pub enum Http11ChunksReadStreamYield {
WantsRead,
Frame {
body: Vec<u8>,
},
}Expand description
Per-step yield emitted by Http11ChunksReadStream; adds
Self::Frame to the standard HttpYield shape.
Variants§
WantsRead
The coroutine wants bytes read from the stream and handed back on the next resume.
Frame
One decoded chunk, yielded as soon as its bytes are available.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Http11ChunksReadStreamYield
impl RefUnwindSafe for Http11ChunksReadStreamYield
impl Send for Http11ChunksReadStreamYield
impl Sync for Http11ChunksReadStreamYield
impl Unpin for Http11ChunksReadStreamYield
impl UnsafeUnpin for Http11ChunksReadStreamYield
impl UnwindSafe for Http11ChunksReadStreamYield
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more