News for hackers. Stuff that matters.
Re:Zero-cost futures in Rust by crudbug on Thursday August 11, 2016 @01:28PM (#12270109)
Generating state machine out of async fluent APIs was enlightening.

How are are handling errors ? - One Error state with the context ?

Re:Zero-cost futures in Rust by hawkice on Thursday August 11, 2016 @02:00PM (#12270378)
This is probably better answered by how Rust handles errors generally:

https://doc.rust-lang.org/book/error-handling.html

Suffice it to say, similar magic tricks have already been at work to make handling errors not soak up a lot of space, and it'd work well with something like this, I think.