Expand description
Generator-shape coroutine driver mirroring core::ops::Coroutine:
Yield associated type for intermediate progress, Return for
terminal output, and a two-variant HttpCoroutineState
(Yielded / Complete).
Enums§
- Http
Coroutine State - State yielded by an
HttpCoroutine::resumestep. - Http
Yield - Standard I/O-only Yield; pick
type Yield = HttpYieldwhen the coroutine only reads or writes socket bytes.
Traits§
- Http
Coroutine - Standard-shape HTTP coroutine: own internal state, declare per-step
Yield, returnResult<Output, Error>on completion.