Straightforward Linux AIO using Futures/async/await.
Example
Use aiofut to schedule writes to a file:
use ;
use AIOBuilder;
use AsRawFd;
let mut aiomgr = default.build.unwrap;
let file = new
.read
.write
.create
.truncate
.open
.unwrap;
let fd = file.as_raw_fd;
// keep all returned futures in a vector
let ws = vec!
.into_iter
.map
.;
// here we use futures::executor::LocalPool to poll all futures
let mut pool = new;
let spawner = pool.spawner;
for w in ws.into_iter
pool.run;