Synthetic fibers!
The enum State
contains utility methods for processing yielded values, not
unlike the Standard Library's Result
or Option
.
Additionally, fibers can be turned into iterators over their yielded values; and
closures that return a State
can be turned into
fibers that live on the heap.
The documentation is available on docs.rs.