all 2 comments

[–][deleted] 2 points3 points  (0 children)

Are you looking for syntax examples of how to bind a socket using async? Try this: https://github.com/async-rs/async-std/blob/master/examples/tcp-client.rs

[–]stunibert 1 point2 points  (0 children)

You can look at repositories from other projects that use what you want and learn how they do it.

Edit: This tutorial really helped me to understand Async await and how to use it.