Expand description
§Generator-shape coroutine driver
Mirrors the shape of core::ops::Coroutine: a Yield associated
type for intermediate progress, a Return associated type for
terminal output, and a two-variant VdirCoroutineState
(Yielded / Complete).
io-vdir is filesystem-flavoured, so every coroutine in the crate
picks the standard VdirYield directly: it gathers every
filesystem primitive the crate emits, namely directory create /
remove / read / exists, file create / read / exists / remove, path
rename / copy, plus the random bytes input needed to mint new item
identifiers.
VdirClient::run drives any standard-Yield coroutine to
completion against the local filesystem.
Enums§
- Vdir
Coroutine State - State yielded by a
VdirCoroutine::resumestep. - Vdir
Reply - Reply fed back into
VdirCoroutine::resumeby the driver. - Vdir
Yield - Standard filesystem Yield. Every io-vdir coroutine picks
type Yield = VdirYield.
Traits§
- Vdir
Coroutine - Standard-shape Vdir coroutine.