Skip to content

Move the `Aio` type to a trait

Nathan Kent requested to merge 24-fix-aio into 17-unify

Closes #24 (closed), #6 (closed)

This represents a complete rework of the AIO system. Instead of having a single type that may or may not have a callback, the Aio object is now a trait that is implemented for two types: an AIO with a callback and one without. This massively simplifies the logic surrounding asynchronous I/O and it opens a path for new AIO versions to be added (e.g., one that exposes an MPSC channel).

Don't Forget

  • Update changelog.
Edited by Nathan Kent

Merge request reports