Tokio: How to do async file io in rust?

Created on 23 May 2017  路  2Comments  路  Source: tokio-rs/tokio

How to do async file io in rust?

All 2 comments

In general right now we recommend using a thread pool like futures-cpupool and doing all I/O on a separate thread. Unfortunately there's not really a great way to to async file I/O in a cross-platform manner :(

Hopefully this is resolved now. Closing due to inactivity. Feel free to open again on the repo that fits best. This repo is being reclaimed to implement https://github.com/tokio-rs/tokio-rfcs/pull/3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

carllerche picture carllerche  路  3Comments

JohnDoneth picture JohnDoneth  路  5Comments

carllerche picture carllerche  路  5Comments

davidbarsky picture davidbarsky  路  3Comments

heretic13 picture heretic13  路  3Comments