A

Admin • 802.91K Points
Coach

Q. What is the return type of `async fn` in Rust?

  • (A) Future
  • (B) Thread
  • (C) Option
  • (D) Result
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category Rust
  • Hashtags:

Explanation by: Admin
`async fn` returns a `Future`, which must be `.await`ed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.