Alan Somers
Alan Somers
Why do you need to clone the value before hand? Can't you do `return_once(move || Ok(something))`?
Yep, that's correct. Of course, in this example `my_struct` is `Clone`, which means you would be fine to use plain `return_const`. Right?
Now blocked on https://github.com/rust-lang/libc/pull/3700 .
I can't reproduce this. Maybe bitflags fixed it upstream?
I think this would be a good feature. But what would make it really great would be if it can have platform-specific integration. For example, aio_read on FreeBSD. We need...
I'm working on the platform-specific part right now. However, even though `aio_read` is nearly equivalent to an asynchronous `read_at`, it's error handling behavior is slightly different. For example, `aio_read` may...
What's the motivation to update nix?
> > What's the motivation to update nix? > > I want to update the version of `nix` used in the Android Open Source Project and we try to keep...
The big problem with I/O safety is lifetimes. Tokio programs need to create lots of futures with the lifetime of a file. And nontrivial Tokio programs usually need those lifetimes...
> You can always just convert the `RawFd` to a `BorrowedFd