-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with Files? #133
Comments
I don't know if this is exactly the same issue, but I'm trying to use
However, from the monoio/monoio/src/io/util/buf_writer.rs Lines 94 to 152 in cdddeff
|
Oh awesome thank you. I was actually doing this to try port sled 1.0.0's on disk backend to something completely async for fun using monoio. I'll check it out when I have time. Good job!! |
I had a go at writing a basic program to copy the content of files. However, I found that I can't use
monoio::io::copy
ormonoio::io::zero_copy
, I understand becausemonoio::fs::File
only implements positional I/O.I found my way to BufReader which sounds like what I want, from the docs:
However, I do not see an implementation unless the underlying AsyncReadRent.
I'd like to be able to copy or zero-copy file-based file descriptors in an obvious way using the functions provided by the library.
Is this possible currently, or is there some implementation missing?
The text was updated successfully, but these errors were encountered: