So I was following the instructions on Getting Started
and I reach the point where it says I can check out what's been done by going to http://localhost:8088/
I head there and it says that the site can't be reached.
I call this function through main and .toml looks good.
You’ve wrapped the main function in another function. So main is likely never called. You probably want the main function as the top level main function for the binary. You can move the server creation to a separate function if you don’t want to do it directly in main.
Thank you for your guidance; I call pub fn actix() through a main function in a different file; I guess it's not possible to have more than one main function at a time. I thought that my main function in a different file ends up calling fn actix which in turn calls its internal main function and run async fn main. On this note, how do you manually call an async function?
And then anything in body can call async code as it wishes. The code won't return though until the code block is finished, so you'd need to start it on a separate thread if you want to do other things in your program.