Ejemplo de cómo usar actix-web 1.0 con async/await

Vía @3Hren.


Explained: How does async work in Rust?

Asynchronous programming is a concept which allows not blocking the program workflow when waiting for the results of certain actions. So you can open a large file or query a database, but your program will continue processing each line afterwards.