Available on crate features
http or socks5 only.Expand description
Generator-shape coroutine driver mirroring core::ops::Coroutine:
a Yield associated type for intermediate progress, a Return for
terminal output, and a two-variant ProxyCoroutineState
(Yielded / Complete). Shared by every proxy protocol.
Enums§
- Proxy
Coroutine State - State yielded by a
ProxyCoroutine::resumestep. - Proxy
Yield - I/O request emitted by a yielded coroutine step.
Traits§
- Proxy
Coroutine - Standard-shape proxy coroutine: owns its internal state, declares a
per-step
Yield, and returnsResult<Output, Error>on completion.