How does Rust handle nested async/await and infinite loops in async functions?
• Each async function generates a state machine with a state variable and a closure environment.
• Outer async functions include inner closure environments
• Infinite loops return Poll::Pending when a future is pending and resume when ready.
🔗 https://eventhelix.com/rust/rust-to-assembly-async-await-nested/
