Taylor Cramer

Results 33 issues of Taylor Cramer

This isn't strictly an `impl Trait` proposal, but it interacts heavily with abstract return types. In particular, it'd be nice to be able to write `typeof(my_func)::Output` to refer to the...

P-nice-to-have

I find myself writing a lot of code that looks like this: ```rust #[derive(Debug, Fail)] pub enum Error { // Case one occurred. #[fail(display = "Case one occurred.")] CaseOne, }...

This is a preliminary attempt at a massively unsafe manual self-borrowing future to allow working with borrowing `futures` combinators without relying on `async`/`await`. I'm uncomfortable about the number of different...

S-blocked
A-future

We've got a number of combinators that rely on tricky atomics. I think it might be a good idea to give [loom](https://github.com/tokio-rs/loom) a try.

https://www.reddit.com/r/rust/comments/gehh0q/notes_on_iouring/fpnhv04?utm_source=share&utm_medium=web2x has more context. cc @withoutboats @Nemo157

C-feature-request
A-io

Either the README should document that libjack-dev must be installed, or the installation should be done automatically. If automatic installation is provided, it should probably be added to the the...

feature
development enhancement

I've spent quite a while looking at this code and trying to understand it, but I'm failing. [`poll_read`](https://github.com/tokio-rs/tokio-core/blob/0868b97832277656c8f361b8aed43d4f373b804f/src/reactor/poll_evented.rs#L133) checks the bits included in [`read_ready`](https://github.com/tokio-rs/tokio-core/blob/master/src/reactor/mod.rs#L810), which includes `hup`. [`poll_write`](https://github.com/tokio-rs/tokio-core/blob/0868b97832277656c8f361b8aed43d4f373b804f/src/reactor/poll_evented.rs#L153), however, doesn't...

0.2-blocker

If https://github.com/carllerche/mio/issues/753 is implemented, then tokio-core will have to deregister `Evented`s rather than expecting them to be deregistered on `Drop`. However, I believe we can make this change now (backwards-compatibly).

[`Interval::poll` never returns an error,](https://tokio-rs.github.io/tokio-core/src/tokio_core/reactor/interval.rs.html#71) but its associated error type is `io::Error`. The error type should be changed to `enum Never {}` or similar (eventually `!` when it lands).

Currently, tokio-core uses the [`slab` crate](https://crates.io/crates/slab) to store timer [heaps](https://github.com/tokio-rs/tokio-core/blob/0868b97832277656c8f361b8aed43d4f373b804f/src/heap.rs#L22) and dispatch maps for [IO events and tasks](https://github.com/tokio-rs/tokio-core/blob/master/src/reactor/mod.rs#L69). However, the [slab crate currently offers no way to reclaim memory](https://github.com/carllerche/slab/issues/38). This...