The Future Trait Has A Missing State
Summary
The article analyzes Rust's Future::poll and its two states, explores MaybeDone and CoroutineState, and argues for adding a Done state to improve signaling completion and reduce codegen, with implications for embedded and constrained environments.